Class: ASAutotest::Problem::WrongPackage
- Inherits:
-
ASAutotest::Problem
- Object
- ASAutotest::Problem
- ASAutotest::Problem::WrongPackage
- 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
-
#initialize(type) ⇒ WrongPackage
constructor
A new instance of WrongPackage.
- #message ⇒ Object
Methods inherited from ASAutotest::Problem
[], #bullet_details, #column_number, #detail, #details, #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) ⇒ WrongPackage
Returns a new instance of WrongPackage.
300 |
# File 'lib/asautotest/problematic-file.rb', line 300 def initialize(type) @type = type end |
Instance Method Details
#message ⇒ Object
301 |
# File 'lib/asautotest/problematic-file.rb', line 301 def ; "Package should be #@type." end |