Sha256: 94c3130fea252444c951e44773ce8af8b1404916527843ef3836d78e82be76df

Contents?: true

Size: 194 Bytes

Versions: 25

Compression:

Stored size: 194 Bytes

Contents

module Fakes
  class RegularArgMatcher

    def initialize(value_to_match)
      @value_to_match = value_to_match
    end

    def matches?(item)
      @value_to_match == item
    end
  end
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
fakes-1.1.6 lib/fakes/arg_matching/regular_arg_matcher.rb
fakes-1.1.5 lib/fakes/arg_matching/regular_arg_matcher.rb
fakes-1.1.4 lib/fakes/arg_matching/regular_arg_matcher.rb
fakes-1.1.3 lib/fakes/arg_matching/regular_arg_matcher.rb
fakes-1.1.2 lib/fakes/arg_matching/regular_arg_matcher.rb
fakes-1.0.31 lib/core/arg_matching/regular_arg_matcher.rb
fakes-1.0.30 lib/core/arg_matching/regular_arg_matcher.rb
fakes-1.0.25 lib/core/arg_matching/regular_arg_matcher.rb
fakes-1.1.1 lib/fakes/arg_matching/regular_arg_matcher.rb
fakes-1.0.24 lib/core/arg_matching/regular_arg_matcher.rb
fakes-1.0.22 lib/core/arg_matching/regular_arg_matcher.rb
fakes-1.1.0 lib/fakes/arg_matching/regular_arg_matcher.rb
fakes-1.0.9 lib/fakes/arg_matching/regular_arg_matcher.rb
fakes-1.0.8 lib/fakes/arg_matching/regular_arg_matcher.rb
fakes-1.0.7 lib/fakes/arg_matching/regular_arg_matcher.rb
fakes-1.0.6 lib/fakes/arg_matching/regular_arg_matcher.rb
fakes-1.0.5 lib/core/arg_matching/regular_arg_matcher.rb
fakes-1.0.2 lib/core/arg_matching/regular_arg_matcher.rb
fakes-1.0.1 lib/core/arg_matching/regular_arg_matcher.rb
fakes-1.0.0 lib/core/arg_matching/regular_arg_matcher.rb