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