class Module

Public Instance Methods

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