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