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.
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_initialize ⇒ Object
11 |
# File 'lib/i18n_routing_rails2.rb', line 11 alias_method :mkd_initialize, :initialize |