Class: Preek::Preek
Overview
whoop whoop
Instance Method Summary collapse
Instance Method Details
#parse(args) ⇒ Object
18 19 20 21 22 |
# File 'lib/preek.rb', line 18 def parse(args) files, @not_files = args.partition { |file| File.exists? file } report_smells_for files unless files.empty? report_not_files end |
#version ⇒ Object
13 14 15 |
# File 'lib/preek.rb', line 13 def version(*) say VERSION end |