Method: Minitest::MustWonted::Matcher::Have#method_missing
- Defined in:
- lib/minitest/mustwonted/matcher/have.rb
#method_missing(name, *args) ⇒ Object
26 27 28 29 30 31 32 33 |
# File 'lib/minitest/mustwonted/matcher/have.rb', line 26 def method_missing(name, *args) name = name.pluralize if name.respond_to?(:pluralize) @name = name.to_sym @args = args self # returning itself so the end result was always this matcher end |