class AnyValue::Composite
Public Class Methods
new(left, right)
click to toggle source
Calls superclass method
# File lib/any_value.rb, line 48 def initialize(left, right) super(left) @right = right end
Public Instance Methods
==(o)
click to toggle source
# File lib/any_value.rb, line 53 def ==(o) __getobj__.==(o) && @right.==(o) end
^(other)
click to toggle source
# File lib/any_value.rb, line 57 def ^(other) Composite.new(self, other) end
inspect()
click to toggle source
# File lib/any_value.rb, line 61 def inspect "#<Composite #{__getobj__.inspect} #{@right.inspect}>" end