Class: Object

Inherits:
BasicObject
Defined in:
lib/fattr.rb

Instance Method Summary collapse

Instance Method Details

#fattrs(*args, &block) ⇒ Object



231
232
233
234
235
# File 'lib/fattr.rb', line 231

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