Missing word
This commit is contained in:
@@ -167,7 +167,7 @@ def get_memory_usage
|
|||||||
end
|
end
|
||||||
|
|
||||||
# Use the wc system command to count the number of lines in the file
|
# Use the wc system command to count the number of lines in the file
|
||||||
# instead of using File.open which will to much memory for large file (10 times the size of the file)
|
# instead of using File.open which will use to much memory for large file (10 times the size of the file)
|
||||||
#
|
#
|
||||||
# @return [ Integer ] The number of lines in the given file
|
# @return [ Integer ] The number of lines in the given file
|
||||||
def count_file_lines(file)
|
def count_file_lines(file)
|
||||||
|
|||||||
Reference in New Issue
Block a user