Class: Jasmine::Headless::ReportMessage::Error
- Inherits:
-
Object
- Object
- Jasmine::Headless::ReportMessage::Error
- Defined in:
- lib/jasmine/headless/report_message/error.rb
Instance Attribute Summary collapse
-
#file_info ⇒ Object
readonly
Returns the value of attribute file_info.
-
#message ⇒ Object
readonly
Returns the value of attribute message.
Class Method Summary collapse
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(message, file_info) ⇒ Error
constructor
A new instance of Error.
Constructor Details
#initialize(message, file_info) ⇒ Error
Returns a new instance of Error.
11 12 13 |
# File 'lib/jasmine/headless/report_message/error.rb', line 11 def initialize(, file_info) @message, @file_info = , file_info end |
Instance Attribute Details
#file_info ⇒ Object (readonly)
Returns the value of attribute file_info.
9 10 11 |
# File 'lib/jasmine/headless/report_message/error.rb', line 9 def file_info @file_info end |
#message ⇒ Object (readonly)
Returns the value of attribute message.
9 10 11 |
# File 'lib/jasmine/headless/report_message/error.rb', line 9 def @message end |
Class Method Details
.new_from_parts(parts) ⇒ Object
4 5 6 |
# File 'lib/jasmine/headless/report_message/error.rb', line 4 def new_from_parts(parts) new(*parts) end |
Instance Method Details
#==(other) ⇒ Object
15 16 17 |
# File 'lib/jasmine/headless/report_message/error.rb', line 15 def ==(other) self. == other. && self.file_info == other.file_info end |