class Muack::RespondingTo
Public Class Methods
new(*messages)
click to toggle source
Calls superclass method
Muack::Satisfying::new
# File lib/muack/satisfying.rb, line 109 def initialize *messages super(messages) end
Public Instance Methods
match(actual_arg)
click to toggle source
# File lib/muack/satisfying.rb, line 113 def match actual_arg api_args.all?{ |msg| actual_arg.respond_to?(msg) } end