Class: Object

Inherits:
BasicObject
Defined in:
lib/fattr.rb

Instance Method Summary collapse

Instance Method Details

#fattrs(*args, &block) ⇒ Object



229
230
231
232
233
# File 'lib/fattr.rb', line 229

def fattrs(*args, &block)
  class << self
    self
  end.__fattrs__(*args, &block).for(self)
end