Class: Mentor::ErrorClassSpecificHelp
- Inherits:
-
Object
- Object
- Mentor::ErrorClassSpecificHelp
- Defined in:
- lib/sections/error_class_specific_help.rb
Instance Attribute Summary collapse
-
#lines ⇒ Object
readonly
Returns the value of attribute lines.
Instance Method Summary collapse
-
#initialize(lines) ⇒ ErrorClassSpecificHelp
constructor
A new instance of ErrorClassSpecificHelp.
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
Constructor Details
#initialize(lines) ⇒ ErrorClassSpecificHelp
Returns a new instance of ErrorClassSpecificHelp.
9 10 11 12 |
# File 'lib/sections/error_class_specific_help.rb', line 9 def initialize(lines) @lines = indent_lines(lines) colorize_section end |
Instance Attribute Details
#lines ⇒ Object (readonly)
Returns the value of attribute lines.
7 8 9 |
# File 'lib/sections/error_class_specific_help.rb', line 7 def lines @lines end |