Class: Expo2::Merger
- Inherits:
-
Struct
- Object
- Struct
- Expo2::Merger
- Defined in:
- lib/expo2.rb
Instance Attribute Summary collapse
-
#block ⇒ Object
Returns the value of attribute block.
Instance Method Summary collapse
Instance Attribute Details
#block ⇒ Object
Returns the value of attribute block
71 72 73 |
# File 'lib/expo2.rb', line 71 def block @block end |
Instance Method Details
#go(object, context, index = nil) ⇒ Object
72 73 74 |
# File 'lib/expo2.rb', line 72 def go(object, context, index=nil) self.block.call(context, index) end |
#inspect ⇒ Object
75 76 77 |
# File 'lib/expo2.rb', line 75 def inspect "<Expo2::Merger>" end |