Class: WrappingCollection
- Includes:
- FromHash
- Defined in:
- lib/formula_eval/calculating_collection.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#coll ⇒ Object
Returns the value of attribute coll.
Instance Method Summary collapse
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(sym, *args, &b) ⇒ Object
21 22 23 |
# File 'lib/formula_eval/calculating_collection.rb', line 21 def method_missing(sym,*args,&b) coll.send(sym,*args,&b) end |
Instance Attribute Details
#coll ⇒ Object
Returns the value of attribute coll.
19 20 21 |
# File 'lib/formula_eval/calculating_collection.rb', line 19 def coll @coll end |
Instance Method Details
#user_coll ⇒ Object
24 25 26 |
# File 'lib/formula_eval/calculating_collection.rb', line 24 def user_coll coll.user_coll end |