Class: Lintrunner::Reporter::Context
- Defined in:
- lib/lintrunner/reporter/context.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Text
Methods inherited from Base
#description, #finish, #initialize, #start
Constructor Details
This class inherits a constructor from Lintrunner::Reporter::Base
Instance Method Details
#report(message) ⇒ Object
5 6 7 8 9 |
# File 'lib/lintrunner/reporter/context.rb', line 5 def report() puts "#{location(message)} #{message.description} #{message_name(message)}" puts context() puts end |