Sha256: c2051d07022daf9c8fadfe2b4f1a352cd71a2466ea94eef6c14479ca822becb4
Contents?: true
Size: 434 Bytes
Versions: 20
Compression:
Stored size: 434 Bytes
Contents
# frozen_string_literal: true # Debugging option # @param parser [OptionParser object] The OptionParser argument # @param options [Hash] Options hash being constructed; this is modified in this method. OctocatalogDiff::Cli::Options::Option.newoption(:debug) do has_weight 110 def parse(parser, options) parser.on('--[no-]debug', '-d', 'Print debugging messages to STDERR') do |x| options[:debug] = x end end end
Version data entries
20 entries across 20 versions & 1 rubygems