class Nya::Storage::Reader

Defined in:

nya/storage.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(files : Array(String)) #

[View source]

Class Method Detail

def self.exists?(n) #

[View source]
def self.init(files) #

[View source]
def self.instance #

[View source]
def self.instance=(instance : Nil | Nya::Storage::Reader) #

[View source]
def self.instance? #

[View source]
def self.read_file(*args, &b : IO -> ) #

[View source]
def self.read_file(name) #

[View source]
def self.read_to_end(name) #

[View source]

Instance Method Detail

def exists?(name) #

[View source]
def read_file(name) #

[View source]
def read_file(name, &block : IO -> ) #

[View source]