Class: ActionDispatch::Journey::Format::Parameter
Relationships & Source Files | |
Inherits: |
Struct
|
Defined in: | actionpack/lib/action_dispatch/journey/visitors.rb |
Instance Attribute Summary
Instance Method Summary
Instance Attribute Details
#escaper (rw)
[ GitHub ]# File 'actionpack/lib/action_dispatch/journey/visitors.rb', line 9
class Parameter < Struct.new(:name, :escaper)
#name (rw)
[ GitHub ]# File 'actionpack/lib/action_dispatch/journey/visitors.rb', line 9
class Parameter < Struct.new(:name, :escaper)
Instance Method Details
#escape(value)
[ GitHub ]# File 'actionpack/lib/action_dispatch/journey/visitors.rb', line 10
def escape(value); escaper.call value; end