Class: TheFox::Timr::Model::Config
- Inherits:
-
BasicModel
- Object
- BasicModel
- TheFox::Timr::Model::Config
- Defined in:
- lib/timr/model/config.rb
Instance Attribute Summary collapse
-
#inital_version ⇒ Object
The version String which the file was created with.
-
#last_used_version ⇒ Object
The version of the previous Timr run.
Attributes inherited from BasicModel
Instance Method Summary collapse
-
#initialize ⇒ Config
constructor
A new instance of Config.
Methods inherited from BasicModel
#changed, create_path_by_id, #created=, #delete_file, find_file_by_id, get_id_from_path, #id, #id=, #load_from_file, #modified=, #post_save_to_file, #pre_load_from_file, #save_to_file, #short_id
Constructor Details
#initialize ⇒ Config
Returns a new instance of Config.
14 15 16 17 18 19 |
# File 'lib/timr/model/config.rb', line 14 def initialize super() @inital_version = nil @last_used_version = nil end |
Instance Attribute Details
#inital_version ⇒ Object
The version String which the file was created with.
9 10 11 |
# File 'lib/timr/model/config.rb', line 9 def inital_version @inital_version end |
#last_used_version ⇒ Object
The version of the previous Timr run.
12 13 14 |
# File 'lib/timr/model/config.rb', line 12 def last_used_version @last_used_version end |