Class: Rounders::Handlers::Handler::Dispatcher
- Inherits:
-
Object
- Object
- Rounders::Handlers::Handler::Dispatcher
- Defined in:
- lib/rounders/handlers/handler.rb
Instance Attribute Summary collapse
-
#matcher ⇒ Object
readonly
Returns the value of attribute matcher.
-
#method_name ⇒ Object
readonly
Returns the value of attribute method_name.
Instance Method Summary collapse
-
#initialize(method_name, matcher) ⇒ Dispatcher
constructor
A new instance of Dispatcher.
Constructor Details
#initialize(method_name, matcher) ⇒ Dispatcher
Returns a new instance of Dispatcher.
11 12 13 14 |
# File 'lib/rounders/handlers/handler.rb', line 11 def initialize(method_name, matcher) @matcher = matcher @method_name = method_name end |
Instance Attribute Details
#matcher ⇒ Object (readonly)
Returns the value of attribute matcher.
9 10 11 |
# File 'lib/rounders/handlers/handler.rb', line 9 def matcher @matcher end |
#method_name ⇒ Object (readonly)
Returns the value of attribute method_name.
9 10 11 |
# File 'lib/rounders/handlers/handler.rb', line 9 def method_name @method_name end |