Class: ActionDispatch::Journey::Visitors::Formatter
- Defined in:
- lib/action_dispatch/journey/visitors.rb
Overview
Used for formatting urls (url_for)
Constant Summary
Constants inherited from Visitor
Instance Attribute Summary collapse
-
#consumed ⇒ Object
readonly
:nodoc:.
-
#options ⇒ Object
readonly
:nodoc:.
Instance Method Summary collapse
-
#initialize(options) ⇒ Formatter
constructor
A new instance of Formatter.
Methods inherited from Visitor
Constructor Details
#initialize(options) ⇒ Formatter
Returns a new instance of Formatter.
112 113 114 115 |
# File 'lib/action_dispatch/journey/visitors.rb', line 112 def initialize() @options = @consumed = {} end |
Instance Attribute Details
#consumed ⇒ Object (readonly)
:nodoc:
110 111 112 |
# File 'lib/action_dispatch/journey/visitors.rb', line 110 def consumed @consumed end |
#options ⇒ Object (readonly)
:nodoc:
110 111 112 |
# File 'lib/action_dispatch/journey/visitors.rb', line 110 def @options end |