Class: Preek::CLI
Overview
whoop whoop
Instance Method Summary collapse
Instance Method Details
#smell(*args) ⇒ Object
23 24 25 26 27 28 29 |
# File 'lib/preek/cli.rb', line 23 def smell(*args) args ||= @args @includes = .keys.map {|key| _aliases[key.to_sym] } @files, @not_files = args.partition { |file| File.exists? file } report_smells report_not_files end |
#version ⇒ Object
14 15 16 |
# File 'lib/preek/cli.rb', line 14 def version(*) say VERSION end |