Class: KManager::Manager::Options

Inherits:
Struct
  • Object
show all
Defined in:
lib/k_manager/manager.rb

Overview

Usage

KManager.opts.sleep = 10 KManager.opts.reboot_on_kill = 0 KManager.opts.exception_style = :short KManager.opts.show.time_taken = true KManager.opts.show.finished = true KManager.opts.show.finished_message = 'FINISHED :)'

Instance Attribute Summary collapse

Instance Attribute Details

#app_name ⇒ Object

Returns the value of attribute app_name



42
43
44
# File 'lib/k_manager/manager.rb', line 42

def app_name
  @app_name
end

#exception_style ⇒ Object

Returns the value of attribute exception_style



42
43
44
# File 'lib/k_manager/manager.rb', line 42

def exception_style
  @exception_style
end

#reboot_on_kill ⇒ Object

Returns the value of attribute reboot_on_kill



42
43
44
# File 'lib/k_manager/manager.rb', line 42

def reboot_on_kill
  @reboot_on_kill
end

#reboot_sleep ⇒ Object

Returns the value of attribute reboot_sleep



42
43
44
# File 'lib/k_manager/manager.rb', line 42

def reboot_sleep
  @reboot_sleep
end

#show ⇒ Object

Returns the value of attribute show



42
43
44
# File 'lib/k_manager/manager.rb', line 42

def show
  @show
end

#sleep ⇒ Object

Returns the value of attribute sleep



42
43
44
# File 'lib/k_manager/manager.rb', line 42

def sleep
  @sleep
end