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 collapse
- VERSION =
Version of RProgram
'0.3.0'
Class Method Summary collapse
-
.debug ⇒ true, false
Specifies whether debugging messages are enabled for RProgram.
-
.debug=(value) ⇒ true, false
Enables or disables debugging messages for RProgram.
Class Method Details
.debug ⇒ true, false
Returns Specifies whether debugging messages are enabled for RProgram. Defaults to false, if not set.
7 8 9 |
# File 'lib/rprogram/rprogram.rb', line 7 def RProgram.debug @@rprogram_debug ||= false end |
.debug=(value) ⇒ true, false
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 |