Class: Navigatrix::Rendering::Context
- Inherits:
-
Struct
- Object
- Struct
- Navigatrix::Rendering::Context
- Extended by:
- Forwardable
- Defined in:
- lib/navigatrix/rendering/context.rb
Instance Attribute Summary collapse
-
#wrapped ⇒ Object
Returns the value of attribute wrapped.
Instance Method Summary collapse
Instance Attribute Details
#wrapped ⇒ Object
Returns the value of attribute wrapped
3 4 5 |
# File 'lib/navigatrix/rendering/context.rb', line 3 def wrapped @wrapped end |
Instance Method Details
#action_name ⇒ Object
15 16 17 |
# File 'lib/navigatrix/rendering/context.rb', line 15 def action_name attempt_delegation(:action_name) end |
#controller_name ⇒ Object
11 12 13 |
# File 'lib/navigatrix/rendering/context.rb', line 11 def controller_name attempt_delegation(:controller_name) end |
#current_path ⇒ Object
7 8 9 |
# File 'lib/navigatrix/rendering/context.rb', line 7 def current_path request.env["PATH_INFO"] end |