Class: Mentor::Header

Inherits:
Object
  • Object
show all
Includes:
Colorize, Outputs
Defined in:
lib/sections/header.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

Methods included from Colorize

#colorize, #colorize_section

Instance Method Details

#linesObject



7
8
9
10
11
12
13
14
15
# File 'lib/sections/header.rb', line 7

def lines
  @lines = [
    horizontal_line,
    title_indented,
    horizontal_line
  ]

  colorize_section
end