Class: Walle::Robot::Router::Route::Mutator
- Inherits:
-
Object
- Object
- Walle::Robot::Router::Route::Mutator
- Defined in:
- lib/walle/robot/router/route.rb
Instance Attribute Summary collapse
-
#env ⇒ Object
readonly
Returns the value of attribute env.
-
#options ⇒ Object
readonly
Returns the value of attribute options.
-
#regexp ⇒ Object
readonly
Returns the value of attribute regexp.
Instance Method Summary collapse
-
#initialize(env, regexp, options = {}) ⇒ Mutator
constructor
A new instance of Mutator.
Constructor Details
#initialize(env, regexp, options = {}) ⇒ Mutator
11 12 13 14 15 |
# File 'lib/walle/robot/router/route.rb', line 11 def initialize(env, regexp, = {}) @env = env @regexp = regexp = end |
Instance Attribute Details
#env ⇒ Object (readonly)
Returns the value of attribute env.
9 10 11 |
# File 'lib/walle/robot/router/route.rb', line 9 def env @env end |
#options ⇒ Object (readonly)
Returns the value of attribute options.
9 10 11 |
# File 'lib/walle/robot/router/route.rb', line 9 def end |
#regexp ⇒ Object (readonly)
Returns the value of attribute regexp.
9 10 11 |
# File 'lib/walle/robot/router/route.rb', line 9 def regexp @regexp end |