Sha256: 0261bec227494529dd23a54c649a37d83cbefb422ef9165f461acb0ac74d2aa2
Contents?: true
Size: 269 Bytes
Versions: 6
Compression:
Stored size: 269 Bytes
Contents
module Spec module Matchers def method_missing(sym, *args, &block) # :nodoc: return Matchers::BePredicate.new(sym, *args, &block) if sym.to_s =~ /^be_/ return Matchers::Has.new(sym, *args, &block) if sym.to_s =~ /^have_/ super end end end
Version data entries
6 entries across 6 versions & 3 rubygems