Class: Verbosinator
Instance Method Summary collapse
Instance Method Details
#should_output?(level) ⇒ Boolean
12 13 14 15 16 17 18 19 20 |
# File 'lib/ceedling/verbosinator.rb', line 12 def should_output?(level) # Rely on global constant created at early stages of command line processing if !defined?(PROJECT_VERBOSITY) return (level <= Verbosity::NORMAL) end return (level <= PROJECT_VERBOSITY) end |