class Module

Public Instance Methods

Fattr(*args, &block) click to toggle source
# File lib/fattr.rb, line 192
def Fattr(*args, &block)
  class << self
    self
  end.module_eval{ __fattr__(*args, &block) }
end
Fattrs(*args, &block) click to toggle source
# File lib/fattr.rb, line 186
def Fattrs(*args, &block)
  class << self
    self
  end.module_eval{ __fattrs__(*args, &block) }
end