Class: Quickie::Matcher
Instance Method Summary collapse
-
#initialize(object, verb) ⇒ Matcher
constructor
A new instance of Matcher.
Constructor Details
#initialize(object, verb) ⇒ Matcher
Returns a new instance of Matcher.
14 15 16 17 |
# File 'lib/quickie_motion/matcher.rb', line 14 def initialize(object, verb) @object = object @should = (verb == :should) end |