Sha256: aef894fdefd33bb6d2e4006ba2ab8d1b7210e97e84b556ad6778bbc9cdcbd2d6
Contents?: true
Size: 260 Bytes
Versions: 13
Compression:
Stored size: 260 Bytes
Contents
module Spec module Matchers def method_missing(sym, *args, &block) # :nodoc: return Matchers::Be.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
13 entries across 13 versions & 4 rubygems