Exception: Mentor::MentorNoMethodError
- Inherits:
-
MentorError
- Object
- StandardError
- MentorError
- Mentor::MentorNoMethodError
- Defined in:
- lib/errors/mentor_no_method_error.rb
Direct Known Subclasses
NoMethodDidYouMeanNumericLiteralError, NoMethodDidYouMeanStringLiteralError, NoMethodDidYouMeanSuggestionError, NoMethodForNilClassError, NoMethodForNilClassForCommonClassError
Class Method Summary collapse
Methods included from Colorize
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 inherited from MentorError
Class Method Details
.can_handle? ⇒ Boolean
7 8 9 |
# File 'lib/errors/mentor_no_method_error.rb', line 7 def self.can_handle? Mentor.tp.raised_exception.class == NoMethodError end |