Class: Mentor::LinesOfCode

Inherits:
Object
  • Object
show all
Includes:
Outputs
Defined in:
lib/sections/lines_of_codes.rb

Instance Method Summary collapse

Methods included from OutputHelper

#a_an, #and_sentence, #culprit_line, #home_to_tilde, #indent_lines, #lines_from_file, #or_sentence, #pluralize, #pluralize_words, #terminal_width, #valid_var_name

Instance Method Details

#linesObject



7
8
9
# File 'lib/sections/lines_of_codes.rb', line 7

def lines
  indent_lines(lines_of_code_from_method_or_file, indent: 4)
end