Sha256: 8d4e453bbb190fec6dd0c63931ca422c1006074742a4d8a476ce055afc535b67

Contents?: true

Size: 235 Bytes

Versions: 9

Compression:

Stored size: 235 Bytes

Contents

require "attributable"

module Metamorpher
  module Matcher
    class NoMatch
      extend Attributable
      attributes

      def matches?
        false
      end

      def combine(_)
        NoMatch.new
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
metamorpher-0.2.6 lib/metamorpher/matcher/no_match.rb
metamorpher-0.2.5 lib/metamorpher/matcher/no_match.rb
metamorpher-0.2.4 lib/metamorpher/matcher/no_match.rb
metamorpher-0.2.3 lib/metamorpher/matcher/no_match.rb
metamorpher-0.2.2 lib/metamorpher/matcher/no_match.rb
metamorpher-0.2.1 lib/metamorpher/matcher/no_match.rb
metamorpher-0.2.0 lib/metamorpher/matcher/no_match.rb
metamorpher-0.1.1 lib/metamorpher/matcher/no_match.rb
metamorpher-0.1.0 lib/metamorpher/matcher/no_match.rb