Class: Object
- Inherits:
- BasicObject
- Defined in:
- lib/lib/base.rb
Instance Method Summary collapse
Instance Method Details
#cattr(name = nil) ⇒ Object
59 60 61 62 63 64 65 |
# File 'lib/lib/base.rb', line 59 def cattr name=nil if name CattrProxy.new(self.class).send(name) else CattrProxy.new(self.class) end end |