Method: Patme::Method#call

Defined in:
lib/patme/method.rb

#call(object, args) ⇒ Object



17
18
19
# File 'lib/patme/method.rb', line 17

def call(object, args)
  @implementations.find{|i| i.match?(args)}.call(object, args)
end