Class: Squish::Internal
Overview
Originally written by Aggelos Orfanakos
Instance Attribute Summary collapse
-
#left ⇒ Object
readonly
:nodoc:.
-
#right ⇒ Object
readonly
:nodoc:.
Attributes inherited from Node
Instance Method Summary collapse
-
#initialize(weight, left, right) ⇒ Internal
constructor
A new instance of Internal.
Methods inherited from Node
Constructor Details
#initialize(weight, left, right) ⇒ Internal
Returns a new instance of Internal.
335 336 337 338 339 |
# File 'lib/squish.rb', line 335 def initialize(weight, left, right) super(weight) @left = left @right = right end |
Instance Attribute Details
#left ⇒ Object (readonly)
:nodoc:
333 334 335 |
# File 'lib/squish.rb', line 333 def left @left end |
#right ⇒ Object (readonly)
:nodoc:
333 334 335 |
# File 'lib/squish.rb', line 333 def right @right end |