class Objects::MInteger

Defined in:

objects.cr

Constructors

Instance Method Summary

Instance methods inherited from class Objects::MValue(Int64)

hash_key : HashKey hash_key, hash_type : HashType hash_type, inspect : String inspect, value value

Constructor methods inherited from class Objects::MValue(Int64)

new(value : T) new

Instance methods inherited from class Objects::MObject

error? : Bool error?, if_not_error(& : MObject -> MObject | Nil) : MObject | Nil if_not_error, inspect : String inspect, truthy? : Bool truthy?, type_desc : String type_desc

Instance methods inherited from class Object

also(& : self | Nil -> _) : self also, or_else(alternative) or_else

Constructor Detail

def self.new(value : T) #

[View source]

Instance Method Detail

def *(other : MInteger) #

[View source]
def +(other : MInteger) #

[View source]
def -(other : MInteger) #

[View source]
def - : self #

[View source]
def /(other : MInteger) #

[View source]
def <(other : MInteger) #

[View source]
def >(other : MInteger) #

[View source]
def hash_key : HashKey #

[View source]
def hash_type : HashType #

[View source]
def same?(other : MInteger) #

[View source]