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.



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

#matcherObject (readonly)

Returns the value of attribute matcher.



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

def matcher
  @matcher
end

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