Module: RProgram

Defined in:
lib/rprogram/sudo.rb,
lib/rprogram/task.rb,
lib/rprogram/option.rb,
lib/rprogram/system.rb,
lib/rprogram/program.rb,
lib/rprogram/version.rb,
lib/rprogram/rprogram.rb,
lib/rprogram/sudo_task.rb,
lib/rprogram/non_option.rb,
lib/rprogram/option_list.rb,
lib/rprogram/exceptions/program_not_found.rb

Defined Under Namespace

Modules: System Classes: NonOption, Option, OptionList, Program, ProgramNotFound, Sudo, SudoTask, Task

Constant Summary

VERSION =

Version of RProgram

'0.3.0'

Class Method Summary (collapse)

Class Method Details

+ (true, false) debug



7
8
9
# File 'lib/rprogram/rprogram.rb', line 7

def RProgram.debug
  @@rprogram_debug ||= false
end

+ (true, false) debug=(value)

Enables or disables debugging messages for RProgram.



20
21
22
# File 'lib/rprogram/rprogram.rb', line 20

def RProgram.debug=(value)
  @@rprogram_debug = value
end