Methods

Class Index [+]

Quicksearch

ActionDispatch::Routing::Mapper::Shorthand

Public Instance Methods

match(*args) click to toggle source
     # File lib/action_dispatch/routing/mapper.rb, line 921
921:         def match(*args)
922:           if args.size == 1 && args.last.is_a?(Hash)
923:             options  = args.pop
924:             path, to = options.find { |name, value| name.is_a?(String) }
925:             options.merge!(:to => to).delete(path)
926:             super(path, options)
927:           else
928:             super
929:           end
930:         end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.