Top Level Namespace

Defined Under Namespace

Modules: ShellEscape Classes: Array, Pathname, SdocAll, SdocAllGenerator, String

Instance Method Summary collapse

Instance Method Details

#run_optionsObject



5
6
7
8
9
10
11
12
# File 'lib/tasks/sdoc_all_rake.rb', line 5

def run_options
  dry_run = ENV['DRY_RUN']
  verbose_level = ENV['VERBOSE_LEVEL'].to_i
  {
    :dry_run => dry_run,
    :verbose_level => dry_run ? 2 : verbose_level
  }
end