Class: RubyEventStore::RSpec::BeEvent::FailureMessage::ActualLine
- Inherits:
-
Object
- Object
- RubyEventStore::RSpec::BeEvent::FailureMessage::ActualLine
- Defined in:
- lib/ruby_event_store/rspec/be_event.rb
Instance Method Summary collapse
-
#initialize(actual_klass, actual_metadata, actual_data, expected_metadata, expected_data) ⇒ ActualLine
constructor
A new instance of ActualLine.
- #to_s ⇒ Object
Constructor Details
#initialize(actual_klass, actual_metadata, actual_data, expected_metadata, expected_data) ⇒ ActualLine
Returns a new instance of ActualLine.
57 58 59 60 61 62 63 |
# File 'lib/ruby_event_store/rspec/be_event.rb', line 57 def initialize(actual_klass, , actual_data, , expected_data) @actual_klass = actual_klass @actual_metadata = @actual_data = actual_data @expected_metadata = @expected_data = expected_data end |
Instance Method Details
#to_s ⇒ Object
65 66 67 |
# File 'lib/ruby_event_store/rspec/be_event.rb', line 65 def to_s ["\n got: ", @actual_klass, with, , data, "\n"] end |