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