method
method_missing
method_missing(sym, *args, &block)
public
Hide source
# File lib/spec/matchers/have.rb, line 18 def method_missing(sym, *args, &block) @collection_name = sym @plural_collection_name = Inflector.pluralize(sym.to_s) if Object.const_defined?(:Inflector) @args = args @block = block self end