Class: Fear::Extractor::IdentifierMatcher Private
- Defined in:
- lib/fear/extractor/identifier_matcher.rb
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Constant Summary
Constants inherited from Matcher
Matcher::EMPTY_ARRAY, Matcher::EMPTY_HASH
Instance Attribute Summary collapse
Instance Method Summary collapse
- #bindings(other) ⇒ Object private
- #defined_at?(_) ⇒ Boolean private
Methods inherited from Matcher
#and, #call, #call_or_else, #failure_reason, #initialize
Constructor Details
This class inherits a constructor from Fear::Extractor::Matcher
Instance Attribute Details
#name ⇒ Types::Strict::Symbol
7 8 9 |
# File 'lib/fear/extractor/identifier_matcher.rb', line 7 def defined_at?(_) true end |
Instance Method Details
#bindings(other) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
11 12 13 |
# File 'lib/fear/extractor/identifier_matcher.rb', line 11 def bindings(other) { name => other } end |
#defined_at?(_) ⇒ Boolean
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
7 8 9 |
# File 'lib/fear/extractor/identifier_matcher.rb', line 7 def defined_at?(_) true end |