Class: ActionDispatch::Journey::Formatter::RouteWithParams
Do not use. This class is for internal use only.
Relationships & Source Files | |
Inherits: | Object |
Defined in: | actionpack/lib/action_dispatch/journey/formatter.rb |
Class Method Summary
Instance Attribute Summary
- #params readonly
Instance Method Summary
Constructor Details
.new(route, parameterized_parts, params) ⇒ RouteWithParams
Instance Attribute Details
#params (readonly)
[ GitHub ]# File 'actionpack/lib/action_dispatch/journey/formatter.rb', line 21
attr_reader :params
Instance Method Details
#path(_)
[ GitHub ]# File 'actionpack/lib/action_dispatch/journey/formatter.rb', line 29
def path(_) @route.format(@parameterized_parts) end