Class: ActionDispatch::Journey::Format::Parameter
- Inherits:
-
Struct
- Object
- Struct
- ActionDispatch::Journey::Format::Parameter
- Defined in:
- lib/action_dispatch/journey/visitors.rb
Instance Attribute Summary collapse
-
#escaper ⇒ Object
Returns the value of attribute escaper.
-
#name ⇒ Object
Returns the value of attribute name.
Instance Method Summary collapse
Instance Attribute Details
#escaper ⇒ Object
Returns the value of attribute escaper
7 8 9 |
# File 'lib/action_dispatch/journey/visitors.rb', line 7 def escaper @escaper end |
#name ⇒ Object
Returns the value of attribute name
7 8 9 |
# File 'lib/action_dispatch/journey/visitors.rb', line 7 def name @name end |
Instance Method Details
#escape(value) ⇒ Object
8 |
# File 'lib/action_dispatch/journey/visitors.rb', line 8 def escape(value); escaper.call value; end |