class AnyValue::Anything
Public Class Methods
new(*args)
click to toggle source
# File lib/any_value.rb, line 19 def initialize(*args) @args = args end
Public Instance Methods
==(*)
click to toggle source
# File lib/any_value.rb, line 23 def ==(*) true end
^(other)
click to toggle source
# File lib/any_value.rb, line 31 def ^(other) Composite.new(self, other) end
inspect()
click to toggle source
# File lib/any_value.rb, line 27 def inspect "#<%s>" % self.class.name.sub("Anything::", "") end
to_ary()
click to toggle source
# File lib/any_value.rb, line 35 def to_ary self end
to_str()
click to toggle source
# File lib/any_value.rb, line 39 def to_str self end