class ActionDispatch::Journey::Formatter::RouteWithParams
Experimental RBS support (using type sampling data from the type_fusion
project).
# sig/action_dispatch/journey/formatter.rbs class ActionDispatch::Journey::Formatter::RouteWithParams def initialize: (ActionDispatch::Journey::Route route, Hash parameterized_parts, Hash params) -> void end
def initialize(route, parameterized_parts, params)
Experimental RBS support (using type sampling data from the type_fusion
project).
def initialize: (ActionDispatch::Journey::Route route, gem | String | version | String | class | String parameterized_parts, params) -> void
This signature was generated using 2 samples from 1 application.
def initialize(route, parameterized_parts, params) @route = route @parameterized_parts = parameterized_parts @params = params end
def path(_)
def path(_) @route.format(@parameterized_parts) end