Class: ActionController::Routing::Route
- Inherits:
-
Object
- Object
- ActionController::Routing::Route
- Defined in:
- lib/i18n_routing_rails2.rb
Overview
:nodoc:
Instance Method Summary collapse
-
#initialize(segments = [], requirements = {}, conditions = {}) ⇒ Route
constructor
A new instance of Route.
- #mkd_initialize ⇒ Object
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_initialize ⇒ Object
12 |
# File 'lib/i18n_routing_rails2.rb', line 12 alias_method :mkd_initialize, :initialize |