module CheckSuperCalls

Constants

VERSION

Public Class Methods

main(args) click to toggle source

Your code goes here…

# File lib/check_super_calls.rb, line 8
def self.main(args)
  arguments_string = args.join(' ')
  options = Parser.parse(args)

  shell = ShellAdapter.new
  result = shell.process_files(options.ignore_regex_string, options.input_directory)

  puts "#{$PROGRAM_NAME} #{arguments_string}" if options.echo_invocation
  puts "Total issues: #{result.length || 0}" if options.print_totals
  puts result unless result.nil?
end