Sha256: 29c1d58e6dad9ea82c3a575e668ea7cdecac49efa89c86c2ff1a3e8585bdfcad
Contents?: true
Size: 299 Bytes
Versions: 11
Compression:
Stored size: 299 Bytes
Contents
module RSpec module Matchers private def method_missing(method, *args, &block) # :nodoc: return Matchers::BePredicate.new(method, *args, &block) if method.to_s =~ /^be_/ return Matchers::Has.new(method, *args, &block) if method.to_s =~ /^have_/ super end end end
Version data entries
11 entries across 11 versions & 2 rubygems