Sha256: 9780d65b04cf89246496abc46e1d5ecac3035f8adbfeaa219170aaa98ade60b1

Contents?: true

Size: 297 Bytes

Versions: 2

Compression:

Stored size: 297 Bytes

Contents

# frozen_string_literal: true

module Fear
  module Extractor
    class IdentifierMatcher < Matcher
      # @!attribute name
      #   @return [Types::Strict::Symbol]

      def defined_at?(_)
        true
      end

      def bindings(other)
        { name => other }
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
fear-1.2.0 lib/fear/extractor/identifier_matcher.rb
fear-1.1.0 lib/fear/extractor/identifier_matcher.rb