lib/rubocop_pr/options.rb
# options will be printed in order, as they are declared in this file
options will be printed in order, as they are declared in this file
options will be printed in order as they are declared in this file
def build_parser
      @parser = OptionParser.new do |op|
        self.opts = op
        opts.banner = 'Usage: rubocop_pr [options]'
        private_methods(false).map(&:to_s).select { |m| m.start_with?('add_') }.each { |m| send m }
      end
    end
def build_parser @parser = OptionParser . new do | op | self . opts = op opts . banner = 'Usage: rubocop_pr [options]' private_methods ( false ) . map ( & :to_s ) . select { | m | m . start_with? ( 'add_' ) } . each { | m | send m } end end
options will be printed in order, as they are declared in this file
options will be printed in order as they are declared in this file