Method: ActionDispatch::Routing::RoutesProxy#initialize

Defined in:
actionpack/lib/action_dispatch/routing/routes_proxy.rb

#initialize(routes, scope, helpers, script_namer = nil) ⇒ RoutesProxy

Returns a new instance of RoutesProxy.



15
16
17
18
19
# File 'actionpack/lib/action_dispatch/routing/routes_proxy.rb', line 15

def initialize(routes, scope, helpers, script_namer = nil)
  @routes, @scope = routes, scope
  @helpers = helpers
  @script_namer = script_namer
end