Top Level Namespace
Defined Under Namespace
Classes: Array, Pathname, SdocAll, SdocAllGenerator, String
Instance Method Summary collapse
Instance Method Details
#run_options ⇒ Object
5 6 7 8 9 10 11 12 |
# File 'lib/tasks/sdoc_all_rake.rb', line 5 def dry_run = ENV['DRY_RUN'] && %w[1 t T].include?(ENV['DRY_RUN'][0, 1]) verbose_level = ENV['VERBOSE_LEVEL'].to_i { :dry_run => dry_run, :verbose_level => dry_run ? 2 : verbose_level } end |