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.crConstructors
-
.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
An object that allows access to a data file.
Class Method Summary
Instance Method Summary
- #default : String
- #default=(default : String)
- #history : History
- #history=(history : History)
- #lock : Lock
- #lock=(lock : Lock)
- #shortcuts : Hash(String, String)
- #shortcuts=(shortcuts : Hash(String, String))
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.