struct Charqui::SizeKB

Defined in:

size_parser.cr

Constant Summary

SIZE_FROM_KB = {"gb" => 1024 * 1024, "mb" => 1024, "kb" => 1}

Constructors

Instance Method Summary

Constructor Detail

def self.new(raw : String = "24mb") #

[View source]

Instance Method Detail

def raw : String #

[View source]
def value : Int32 #

[View source]