Class: ASAutotest::Problem::UndefinedImport
- Inherits:
-
ASAutotest::Problem
- Object
- ASAutotest::Problem
- ASAutotest::Problem::UndefinedImport
- Defined in:
- lib/asautotest/problematic-file.rb
Constant Summary
Constants inherited from ASAutotest::Problem
LINE_NUMBER_COLUMN_WIDTH, MESSAGE_COLUMN_WIDTH
Instance Attribute Summary
Attributes inherited from ASAutotest::Problem
Instance Method Summary collapse
- #detail ⇒ Object
- #details ⇒ Object
-
#initialize(type) ⇒ UndefinedImport
constructor
A new instance of UndefinedImport.
- #message ⇒ Object
Methods inherited from ASAutotest::Problem
[], #bullet_details, #column_number, #details_column, #dummy_line_number_column, #extra_details, #identifier_source_line_details, #identifier_source_line_parts, #indentation_width, #last_details, #last_extra_details, #last_message, #line_number, #line_number_column, #member_details, #message_column, #message_column_overflowed?, parse, #plain_message, #previous, #print_report, #problematic_identifier, #problematic_identifier_post, #problematic_identifier_pre, #sort_key, #source_line, #source_line_details, #type_warning?
Constructor Details
#initialize(type) ⇒ UndefinedImport
Returns a new instance of UndefinedImport.
272 |
# File 'lib/asautotest/problematic-file.rb', line 272 def initialize(type) @type = type end |
Instance Method Details
#detail ⇒ Object
275 |
# File 'lib/asautotest/problematic-file.rb', line 275 def detail ; @type.full_name end |
#details ⇒ Object
274 |
# File 'lib/asautotest/problematic-file.rb', line 274 def details ; bullet_details(detail) end |
#message ⇒ Object
273 |
# File 'lib/asautotest/problematic-file.rb', line 273 def ; "Import not found:" end |