Class: Object
- Inherits:
- BasicObject
- Defined in:
- lib/attributes.rb,
lib/attributes-3.7.0.rb
Instance Method Summary collapse
Instance Method Details
#attributes(*a, &b) ⇒ Object
67 68 69 70 71 72 73 |
# File 'lib/attributes.rb', line 67 def attributes *a, &b sc = class << self self end sc.attributes *a, &b end |