# File lib/attic.rb, line 164 164: def attic *junk 165: return metaclass if junk.empty? 166: junk.each do |name| 167: next if attic_variable? name 168: self.attic_variables << name 169: 170: unless method_defined? name 171: define_method(name) do 172: attic_variable_get name 173: end 174: end 175: unless method_defined? "#{name}=" 176: define_method("#{name}=") do |val| 177: attic_variable_set name, val 178: end 179: end 180: end 181: attic_vars 182: end