struct Pretty::UsedMemory

Defined in:

pretty/used_memory.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(kb : Int64) #

[View source]

Class Method Detail

def self.from_gb(v) #

[View source]
def self.zero #

[View source]

Instance Method Detail

def +(other) #

[View source]
def ==(other : self) #

[View source]
def bytes : Int64 #

[View source]
def clone #

[View source]
def copy_with(kb _kb = @kb) #

[View source]
def gb : Float64 #

[View source]
def kb : Int64 #

def mb : Float64 #

[View source]
def to_s(io : IO) #
Description copied from struct Struct

Same as #inspect(io).


[View source]