class Mentor::MentorNoMethodError

Public Class Methods

can_handle?() click to toggle source
# File lib/errors/mentor_no_method_error.rb, line 7
def self.can_handle?
  Mentor.tp.raised_exception.class == NoMethodError
end

Private Instance Methods

sections() click to toggle source
# File lib/errors/mentor_no_method_error.rb, line 13
def sections
  [
    Header.new,
    RubyErrorComplete.new,
    RelativePath.new,
    LinesOfCode.new
  ]
end