123456789_123456789_123456789_123456789_123456789_

Class: ActionDispatch::Journey::Format::Parameter

Do not use. This class is for internal use only.
Relationships & Source Files
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
self, ::Struct
Instance Chain:
self, ::Struct
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 12

Parameter = Struct.new(:name, :escaper)

#name (rw)

[ GitHub ]

  
# File 'actionpack/lib/action_dispatch/journey/visitors.rb', line 12

Parameter = Struct.new(:name, :escaper)

Instance Method Details

#escape(value)

[ GitHub ]

  
# File 'actionpack/lib/action_dispatch/journey/visitors.rb', line 13

def escape(value); escaper.call value; end