Sha256: f0fa4992d4e4b3235615151143b80fc4ba1b11f15399e096c9c80613c49aea62
Contents?: true
Size: 609 Bytes
Versions: 54
Compression:
Stored size: 609 Bytes
Contents
# frozen_string_literal: true require_relative 'builtin_datatype' module Loxxy module Datatype # Abstract class that generalizes a Lox boolean value. # An instance acts merely as a wrapper around a Ruby representation # of the value. class Boolean < BuiltinDatatype # Is this object representing a false value in Lox? # @return [FalseClass, TrueClass] def false? false end # Is this object representing the true value in Lox? # @return [FalseClass, TrueClass] def true? false end end # class end # module end # module
Version data entries
54 entries across 54 versions & 1 rubygems