Class: Quickie::Matcher

Inherits:
Object show all
Defined in:
lib/quickie/matcher.rb

Instance Method Summary collapse

Constructor Details

#initialize(object, verb) ⇒ Matcher

Returns a new instance of Matcher.



14
15
16
17
# File 'lib/quickie/matcher.rb', line 14

def initialize(object, verb)
  @object = object
  @should = (verb == :should)
end