Class: Module
Constant Summary
Constants included
from Fattr
Fattr::SEMAPHORE, Fattr::Version
Instance Method Summary
collapse
Methods included from Fattr
description, #fattrs, version
Instance Method Details
#Fattr(*args, &block) ⇒ Object
221
222
223
224
225
|
# File 'lib/fattr.rb', line 221
def Fattr(*args, &block)
class << self
self
end.module_eval{ __fattr__(*args, &block) }.for(self)
end
|
#Fattrs(*args, &block) ⇒ Object
215
216
217
218
219
|
# File 'lib/fattr.rb', line 215
def Fattrs(*args, &block)
class << self
self
end.module_eval{ __fattrs__(*args, &block) }.for(self)
end
|