Sha256: 355a8a8e258e29eb45f4515fea3e09996a59f6af49596654c89a92fc621a9fa4
Contents?: true
Size: 956 Bytes
Versions: 6
Compression:
Stored size: 956 Bytes
Contents
# Using Ruby heredocs for descriptions, the Loquacious configuration will # strip out leading whitespace but preserve line breaks. Gutter lines can be # used to mark where leading whitespace should be preserved. This is useful # if you need to provide example code in your descriptions. require 'loquacious' include Loquacious Configuration.for(:gutters) { log_path "log/development.log", :desc => <<-__ The path to the log file to use. Defaults to log/\#{environment}.log (e.g. log/development.log or log/production.log). | | config.log_path = File.join(ROOT, "log", "\#{environment}.log | __ log_level :warn, :desc => <<-__ |The log level to use for the default Rails logger. In production mode, |this defaults to :info. In development mode, it defaults to :debug. | | config.log_level = 'debug' | config.log_level = :warn | __ } help = Configuration.help_for :gutters help.show :values => true
Version data entries
6 entries across 6 versions & 2 rubygems