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 path: (Symbol _) -> String end
def initialize(route, parameterized_parts, params)
def initialize(route, parameterized_parts, params) @route = route @parameterized_parts = parameterized_parts @params = params end
def path(_)
Experimental RBS support (using type sampling data from the type_fusion
project).
def path: (Symbol _) -> String
This signature was generated using 1 sample from 1 application.
def path(_) @route.format(@parameterized_parts) end