Class: Object
- Inherits:
- BasicObject
- Defined in:
- lib/attributes.rb,
lib/attributes-4.1.0.rb
Instance Method Summary collapse
Instance Method Details
#attributes(*a, &b) ⇒ Object
104 105 106 107 108 109 110 |
# File 'lib/attributes.rb', line 104 def attributes *a, &b sc = class << self self end sc.attributes *a, &b end |