Class: Navigatrix::Item::Path
- Inherits:
-
Struct
- Object
- Struct
- Navigatrix::Item::Path
- Defined in:
- lib/navigatrix/item.rb
Instance Method Summary collapse
Instance Method Details
#call(context) ⇒ Object
68 69 70 |
# File 'lib/navigatrix/item.rb', line 68 def call(context) source.respond_to?(:call) ? source.call(context) : source end |