Class: ActionDispatch::Journey::Format::Parameter
- Defined in:
 - actionpack/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
Methods inherited from Struct
Instance Attribute Details
#escaper ⇒ Object
Returns the value of attribute escaper
      12 13 14  | 
    
      # File 'actionpack/lib/action_dispatch/journey/visitors.rb', line 12 def escaper @escaper end  | 
  
#name ⇒ Object
Returns the value of attribute name
      12 13 14  | 
    
      # File 'actionpack/lib/action_dispatch/journey/visitors.rb', line 12 def name @name end  | 
  
Instance Method Details
#escape(value) ⇒ Object
      13  | 
    
      # File 'actionpack/lib/action_dispatch/journey/visitors.rb', line 13 def escape(value); escaper.call value; end  |