Class: Rounders::Handlers::Handler::Dispatcher

Inherits:
Object
  • Object
show all
Defined in:
lib/rounders/handlers/handler.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#matcherObject (readonly)

Returns the value of attribute matcher.



9
10
11
# File 'lib/rounders/handlers/handler.rb', line 9

def matcher
  @matcher
end

#method_nameObject (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