Sha256: e095cf5ca220ad308df1b4631f5856a4b16400c3f57505a1c790a5698ef25072

Contents?: true

Size: 311 Bytes

Versions: 3

Compression:

Stored size: 311 Bytes

Contents

module Vanguard
  # Abstract base class for matchers
  class Matcher
    include Adamantium::Flat, AbstractType

    # Test if value matches
    #
    # @return [true]
    #   if value matches
    #
    # @return [false]
    #   otherwise
    #
    # @api private
    #
    abstract_method :matches?

  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
vanguard-0.0.5 lib/vanguard/matcher.rb
vanguard-0.0.4 lib/vanguard/matcher.rb
vanguard-0.0.3 lib/vanguard/matcher.rb