Sha256: 5bf9b821e22671f64547b3d939a0a6f157797f5954c5be71e60098b0b061bb42
Contents?: true
Size: 403 Bytes
Versions: 1
Compression:
Stored size: 403 Bytes
Contents
module Codesake module Utils module Files attr_accessor :filename attr_reader :file_content def read_file @file_content = [] @file_content = File.readlines(@filename) if File.exists?(@filename) end def lines @file_content.count end def lines_of_comment 0 end def loc 0 end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
codesake-0.15.1 | lib/codesake/utils/files.rb |