Class: Interscript::Node::Rule

Inherits:
Interscript::Node show all
Defined in:
lib/interscript/node/rule.rb

Direct Known Subclasses

Funcall, Run, Sub

Defined Under Namespace

Classes: Funcall, Run, Sub

Instance Method Summary collapse

Methods inherited from Interscript::Node

#initialize, #to_hash

Constructor Details

This class inherits a constructor from Interscript::Node

Instance Method Details

#==(other) ⇒ Object



2
3
4
# File 'lib/interscript/node/rule.rb', line 2

def ==(other)
  super && self.reverse_run == other.reverse_run
end