Class: Wombat::Iterator
- Inherits:
-
PropertyContainer
- Object
- Hash
- PropertyContainer
- Wombat::Iterator
- Defined in:
- lib/wombat/iterator.rb
Instance Attribute Summary collapse
-
#selector ⇒ Object
Returns the value of attribute selector.
Attributes inherited from PropertyContainer
Instance Method Summary collapse
-
#initialize(selector) ⇒ Iterator
constructor
A new instance of Iterator.
Methods inherited from PropertyContainer
#all_properties, #flatten, #for_each, #method_missing, #to_ary
Constructor Details
#initialize(selector) ⇒ Iterator
Returns a new instance of Iterator.
5 6 7 8 |
# File 'lib/wombat/iterator.rb', line 5 def initialize selector @selector = selector super() end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Wombat::PropertyContainer
Instance Attribute Details
#selector ⇒ Object
Returns the value of attribute selector.
3 4 5 |
# File 'lib/wombat/iterator.rb', line 3 def selector @selector end |