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.



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

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

Instance Method Details

#mkd_initializeObject



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

alias_method :mkd_initialize, :initialize