Class: Tree::MatchExpression::BinaryExpr
- Inherits:
-
AbstractMatcher
- Object
- AbstractMatcher
- Tree::MatchExpression::BinaryExpr
- Defined in:
- lib/modular_tree/matcher.rb
Instance Method Summary collapse
-
#initialize(left, right) ⇒ BinaryExpr
constructor
A new instance of BinaryExpr.
Methods inherited from AbstractMatcher
Constructor Details
#initialize(left, right) ⇒ BinaryExpr
Returns a new instance of BinaryExpr.
44 45 46 47 48 |
# File 'lib/modular_tree/matcher.rb', line 44 def initialize(left, right) constrain left, Matcher constrain right, Matcher @left, @right = left, right end |