Sha256: e693b54c54e022d3c7997db49386e9ac26c9313f4d337b3ff1fbdb69f04b1b95
Contents?: true
Size: 270 Bytes
Versions: 35
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
35 entries across 35 versions & 3 rubygems