Sha256: a0b16dca2bc46fd4717a3ef7e4c256dc710e57e695baf088cc35dc276e0299e8
Contents?: true
Size: 270 Bytes
Versions: 16
Compression:
Stored size: 270 Bytes
Contents
module Rspec 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
16 entries across 16 versions & 1 rubygems