Class: Object
- Inherits:
- BasicObject
- Defined in:
- lib/attributes.rb,
lib/attributes-4.0.0.rb
Instance Method Summary collapse
Instance Method Details
#attributes(*a, &b) ⇒ Object
98 99 100 101 102 103 104 |
# File 'lib/attributes.rb', line 98 def attributes *a, &b sc = class << self self end sc.attributes *a, &b end |