method
method_missing
1.1.12 -
Show latest stable
- Class:
Spec::Matchers
method_missing(sym, *args, &block)public
No documentation available.
# File lib/spec/matchers/method_missing.rb, line 3
def method_missing(sym, *args, &block) # :nodoc:
return Matchers::Be.new(sym, *args) if sym.starts_with?("be_")
return has(sym, *args) if sym.starts_with?("have_")
super
end