Method: Module#Fattr
- Defined in:
- lib/fattr.rb
#Fattr(*args, &block) ⇒ Object
188 189 190 191 192 |
# File 'lib/fattr.rb', line 188 def Fattr(*args, &block) class << self self end.module_eval{ __fattr__(*args, &block) } end |
188 189 190 191 192 |
# File 'lib/fattr.rb', line 188 def Fattr(*args, &block) class << self self end.module_eval{ __fattr__(*args, &block) } end |