Class: MicroManager::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/micro_manager/config.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_locationObject (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