Class: ActionController::Routing::Route

Inherits:
Object
  • Object
show all
Defined in:
lib/i18n_routing_rails2.rb

Overview

:nodoc:

Instance Method Summary collapse

Constructor Details

#initialize(segments = [], requirements = {}, conditions = {}) ⇒ Route

Returns a new instance of Route.



12
13
14
15
# File 'lib/i18n_routing_rails2.rb', line 12

def initialize(segments = [], requirements = {}, conditions = {})
  @glang = requirements.delete(:glang)
  mkd_initialize(segments, requirements, conditions)
end

Instance Method Details

#mkd_initializeObject



11
# File 'lib/i18n_routing_rails2.rb', line 11

alias_method :mkd_initialize, :initialize