Method: Readlines::ReadDuc#line_count

Defined in:
lib/readlines/read.rb

#line_countObject

Count operations



57
58
59
60
# File 'lib/readlines/read.rb', line 57

def line_count
  raise Readlines::Error::NotFoundError, "File not found: #{@file_path}" unless ::File.exist?(@file_path)
  line_count_now()
end