Class: Oats::OatsDataLoadHistoryItem
- Inherits:
-
Object
- Object
- Oats::OatsDataLoadHistoryItem
- Defined in:
- lib/oats/oats_data.rb
Overview
Keeps history of YAML files loaded into the global $oats. if omit is true add the yaml name into the result directory hierarchy
Instance Attribute Summary collapse
-
#file ⇒ Object
Returns the value of attribute file.
-
#in_result_dir ⇒ Object
Returns the value of attribute in_result_dir.
-
#omit ⇒ Object
Returns the value of attribute omit.
Instance Method Summary collapse
-
#initialize(file, omit = false) ⇒ OatsDataLoadHistoryItem
constructor
A new instance of OatsDataLoadHistoryItem.
Constructor Details
#initialize(file, omit = false) ⇒ OatsDataLoadHistoryItem
Returns a new instance of OatsDataLoadHistoryItem.
8 9 10 11 12 |
# File 'lib/oats/oats_data.rb', line 8 def initialize(file, omit = false) @file = file @omit = omit @in_result_dir = true end |
Instance Attribute Details
#file ⇒ Object
Returns the value of attribute file.
7 8 9 |
# File 'lib/oats/oats_data.rb', line 7 def file @file end |
#in_result_dir ⇒ Object
Returns the value of attribute in_result_dir.
7 8 9 |
# File 'lib/oats/oats_data.rb', line 7 def in_result_dir @in_result_dir end |
#omit ⇒ Object
Returns the value of attribute omit.
7 8 9 |
# File 'lib/oats/oats_data.rb', line 7 def omit @omit end |