Class: InlineExpo
- Inherits:
-
Struct
- Object
- Struct
- InlineExpo
- Defined in:
- lib/presenters/inline_expo.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
1 2 3 |
# File 'lib/presenters/inline_expo.rb', line 1 def block @block end |
Instance Method Details
#go(object, context, index = nil) ⇒ Object
2 3 4 |
# File 'lib/presenters/inline_expo.rb', line 2 def go(object, context, index=nil) self.block.call(object, context, index) end |
#inspect ⇒ Object
6 7 8 |
# File 'lib/presenters/inline_expo.rb', line 6 def inspect "<Expo2::InlineExpo>" end |