Sha256: e906de7ee886e363266550deb931457990c2da6d43419afb91d8b9d023846c6f
Contents?: true
Size: 289 Bytes
Versions: 17
Compression:
Stored size: 289 Bytes
Contents
module RSpec module Matchers private def method_missing(method, *args, &block) 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
17 entries across 15 versions & 4 rubygems