Class: MicroManager::Config
- Inherits:
-
Object
- Object
- MicroManager::Config
- Defined in:
- lib/micro_manager/config.rb
Instance Attribute Summary collapse
-
#save_location ⇒ Object
readonly
Returns the value of attribute save_location.
Instance Method Summary collapse
-
#initialize(**opts) ⇒ Config
constructor
A new instance of Config.
Constructor Details
#initialize(**opts) ⇒ Config
Returns a new instance of Config.
7 8 9 |
# File 'lib/micro_manager/config.rb', line 7 def initialize(**opts) @save_location = opts[:save_location] || File.join(Dir.home, ".micro_manager", "schedule.yml") end |
Instance Attribute Details
#save_location ⇒ Object (readonly)
Returns the value of attribute save_location.
5 6 7 |
# File 'lib/micro_manager/config.rb', line 5 def save_location @save_location end |