class ProtoHackers::Folder

Defined in:

10_voracious_code_storage.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(name : String) #

[View source]

Instance Method Detail

def add_file(file : ProtoHackers::File) #

[View source]
def add_folder(folder : ProtoHackers::Folder) #

[View source]
def files : Array(ProtoHackers::File) #

[View source]
def files=(files : Array(ProtoHackers::File)) #

[View source]
def folders : Array(ProtoHackers::Folder) #

[View source]
def folders=(folders : Array(ProtoHackers::Folder)) #

[View source]
def get_file?(name : String) : ProtoHackers::File | Nil #

[View source]
def get_folder?(name : String) : ProtoHackers::Folder | Nil #

[View source]

[View source]
def name : String #

[View source]
def name=(name : String) #

[View source]
def to_s(io) #

[View source]