Sha256: 0e791f3b622839c5f7f5b0025e95f4ae88a92a1deca53c6a8bc04b6abea958a7
Contents?: true
Size: 530 Bytes
Versions: 7
Compression:
Stored size: 530 Bytes
Contents
module WildcardMatchers module Helpers class << self def define_wildcard_helper(name) define_method(name) do |expectation = nil, &block| expectation = block_given? ? block : expectation ::WildcardMatchers::Helpers.const_get(name.to_s.camelcase(:upper)).new(expectation) end end end end end require "wildcard_matchers/helpers/for_any" require "wildcard_matchers/helpers/for_all" require "wildcard_matchers/helpers/nil_or" require "wildcard_matchers/helpers/responding"
Version data entries
7 entries across 7 versions & 1 rubygems