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_nameObject

Returns the value of attribute app_name

Returns:

  • (Object)

    the current value of app_name



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

def app_name
  @app_name
end

#exception_styleObject

Returns the value of attribute exception_style

Returns:

  • (Object)

    the current value of exception_style



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

def exception_style
  @exception_style
end

#reboot_on_killObject

Returns the value of attribute reboot_on_kill

Returns:

  • (Object)

    the current value of reboot_on_kill



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

def reboot_on_kill
  @reboot_on_kill
end

#reboot_sleepObject

Returns the value of attribute reboot_sleep

Returns:

  • (Object)

    the current value of reboot_sleep



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

def reboot_sleep
  @reboot_sleep
end

#showObject

Returns the value of attribute show

Returns:

  • (Object)

    the current value of show



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

def show
  @show
end

#sleepObject

Returns the value of attribute sleep

Returns:

  • (Object)

    the current value of sleep



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

def sleep
  @sleep
end