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.
12 13 14 15 |
# File 'lib/rounders/handlers/handler.rb', line 12 def initialize(method_name, matcher) @matcher = matcher @method_name = method_name end |
Instance Attribute Details
#matcher ⇒ Object (readonly)
Returns the value of attribute matcher.
10 11 12 |
# File 'lib/rounders/handlers/handler.rb', line 10 def matcher @matcher end |
#method_name ⇒ Object (readonly)
Returns the value of attribute method_name.
10 11 12 |
# File 'lib/rounders/handlers/handler.rb', line 10 def method_name @method_name end |