Class: TheFox::Timr::Model::Config

Inherits:
BasicModel show all
Defined in:
lib/timr/model/config.rb

Instance Attribute Summary collapse

Attributes inherited from BasicModel

#file_path, #has_changed

Instance Method Summary collapse

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

#initializeConfig

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_versionObject

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_versionObject

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