class Data

Overview

An object that allows access to a data file. In SmartDirectory, this is where directory aliases, project aliases, and lock settings are stored.

Defined in:

data.cr

Constructors

Class Method Summary

Instance Method Summary

Instance methods inherited from class UtilFile

dir_name : String | Nil dir_name, dir_name=(dir_name : String | Nil) dir_name=, file_name : String | Nil file_name, file_name=(file_name : String | Nil) file_name=, filepath filepath, save save

Constructor methods inherited from class UtilFile

new(ctx : YAML::ParseContext, node : YAML::Nodes::Node) new

Class methods inherited from class UtilFile

load(dir_name, file_name) load

Constructor Detail

def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node) #

An object that allows access to a data file. In SmartDirectory, this is where directory aliases, project aliases, and lock settings are stored.


[View source]

Class Method Detail

def self.filename #

[View source]

Instance Method Detail

def default : String #

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

[View source]
def history : History #

[View source]
def history=(history : History) #

[View source]
def lock : Lock #

[View source]
def lock=(lock : Lock) #

[View source]
def shortcuts : Hash(String, String) #

[View source]
def shortcuts=(shortcuts : Hash(String, String)) #

[View source]