class

Config::Repository

Inherits Reference < Object

設定ファイルの読み書きを担う境界。 検証と反映は usecase 側にあり、ここはファイルとの往復だけを行う。

Instance methods

exists?
Source
file_exists?(path : String) : Bool

sound と icon に指定されたファイルの存在確認。検証に使う。

Source
load
Source
modified_at

外部エディタでの編集を検知するための更新時刻。取得できない場合は nil を返す。

Source
path
Source
png_file?(path : String) : Bool

icon に指定されたファイルが PNG かどうか。検証に使う。

Source
save(root : Root) : Nil
Source