class RbScheme::LInt

Attributes

value[RW]

Public Class Methods

new(value) click to toggle source
# File lib/rb-scheme/lisp-objects.rb, line 7
def initialize(value)
  @value = value
end

Public Instance Methods

==(another) click to toggle source
# File lib/rb-scheme/lisp-objects.rb, line 11
def ==(another)
  return false unless another.is_a? LInt
  value == another.value
end