class Ruspea::Interpreter::Form
Attributes
meta[R]
value[R]
Public Class Methods
new(value, meta = {closed: true})
click to toggle source
# File lib/ruspea/interpreter/form.rb, line 5 def initialize(value, meta = {closed: true}) @value = value @meta = meta end
Public Instance Methods
==(other)
click to toggle source
# File lib/ruspea/interpreter/form.rb, line 18 def ==(other) return false if self.class != other.class value == other.value && meta == other.meta end
eq?(other)
click to toggle source
# File lib/ruspea/interpreter/form.rb, line 10 def eq?(other) self == other end
eql?(other)
click to toggle source
# File lib/ruspea/interpreter/form.rb, line 14 def eql?(other) self == other end
inspect()
click to toggle source
# File lib/ruspea/interpreter/form.rb, line 23 def inspect "Form< #{value.inspect} >" end