class Object
Public Instance Methods
run_options()
click to toggle source
# File lib/tasks/sdoc_all_rake.rb, line 5 def run_options 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