lib/pdd.rb in pdd-0.16.4 vs lib/pdd.rb in pdd-0.17
- old
+ new
@@ -73,9 +73,10 @@
# Ctor.
# +opts+:: Options
def initialize(opts)
@opts = opts
PDD.log.level = Logger::INFO if @opts[:verbose]
+ PDD.log.level = Logger::ERROR if @opts[:quiet]
PDD.log.info "my version is #{PDD::VERSION}"
PDD.log.info "Ruby version is #{RUBY_VERSION} at #{RUBY_PLATFORM}"
end
# Generate XML.