Class: Kameleoon::Managers::Data::DataManager
- Inherits:
-
Object
- Object
- Kameleoon::Managers::Data::DataManager
- Defined in:
- lib/kameleoon/managers/data/data_manager.rb
Defined Under Namespace
Classes: Container
Instance Method Summary collapse
- #data_file ⇒ Object
- #data_file=(value) ⇒ Object
-
#initialize(data_file) ⇒ DataManager
constructor
A new instance of DataManager.
- #visitor_code_managed? ⇒ Boolean
Constructor Details
#initialize(data_file) ⇒ DataManager
Returns a new instance of DataManager.
7 8 9 |
# File 'lib/kameleoon/managers/data/data_manager.rb', line 7 def initialize(data_file) self.data_file = data_file end |
Instance Method Details
#data_file ⇒ Object
11 12 13 |
# File 'lib/kameleoon/managers/data/data_manager.rb', line 11 def data_file @container.data_file end |
#data_file=(value) ⇒ Object
15 16 17 |
# File 'lib/kameleoon/managers/data/data_manager.rb', line 15 def data_file=(value) @container = Container.new(value) end |
#visitor_code_managed? ⇒ Boolean
19 20 21 |
# File 'lib/kameleoon/managers/data/data_manager.rb', line 19 def visitor_code_managed? @container.visitor_code_managed end |