Class: ActionDispatch::Journey::Visitors::Formatter
- Defined in:
- actionpack/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.
89 90 91 92 |
# File 'actionpack/lib/action_dispatch/journey/visitors.rb', line 89 def initialize() @options = @consumed = {} end |
Instance Attribute Details
#consumed ⇒ Object (readonly)
:nodoc:
87 88 89 |
# File 'actionpack/lib/action_dispatch/journey/visitors.rb', line 87 def consumed @consumed end |
#options ⇒ Object (readonly)
:nodoc:
87 88 89 |
# File 'actionpack/lib/action_dispatch/journey/visitors.rb', line 87 def @options end |