Sha256: 027afe74da84ce3b9e56c6c4fff2dd6b951152989fc7fbdb8160520e78040d24
Contents?: true
Size: 307 Bytes
Versions: 234
Compression:
Stored size: 307 Bytes
Contents
module RSpec module Matchers private def method_missing(method, *args, &block) return Matchers::BuiltIn::BePredicate.new(method, *args, &block) if method.to_s =~ /^be_/ return Matchers::BuiltIn::Has.new(method, *args, &block) if method.to_s =~ /^have_/ super end end end
Version data entries
234 entries across 136 versions & 27 rubygems