Class: Mutant::AST::Pattern::Node::Attribute::Value::Single Private
- Inherits:
-
Mutant::AST::Pattern::Node::Attribute::Value
- Object
- Mutant::AST::Pattern::Node::Attribute::Value
- Mutant::AST::Pattern::Node::Attribute::Value::Single
- Includes:
- Unparser::Adamantium
- Defined in:
- lib/mutant/ast/pattern.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.
Instance Method Summary collapse
- #match?(input) ⇒ Boolean private
- #syntax ⇒ Object private
Instance Method Details
#match?(input) ⇒ 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.
30 31 32 |
# File 'lib/mutant/ast/pattern.rb', line 30 def match?(input) input.eql?(value) end |
#syntax ⇒ 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.
34 35 36 |
# File 'lib/mutant/ast/pattern.rb', line 34 def syntax value end |