Module: Utilities::Files

Defined in:
lib/utilities/files.rb

Class Method Summary (collapse)

Class Method Details

+ (Object) lines_per_file(files)



3
4
5
6
7
8
# File 'lib/utilities/files.rb', line 3

def self.lines_per_file(files)
  puts "Lines per file: "
  files.each do |f|
    puts `wc -l #{f}`
  end
end