Class: RubyEventStore::RSpec::BeEvent::FailureMessage::ExpectedLine
- Inherits:
-
Object
- Object
- RubyEventStore::RSpec::BeEvent::FailureMessage::ExpectedLine
- Defined in:
- lib/ruby_event_store/rspec/be_event.rb
Instance Method Summary collapse
-
#initialize(expected_klass, expected_metadata, expected_data) ⇒ ExpectedLine
constructor
A new instance of ExpectedLine.
- #to_s ⇒ Object
Constructor Details
#initialize(expected_klass, expected_metadata, expected_data) ⇒ ExpectedLine
Returns a new instance of ExpectedLine.
31 32 33 34 35 |
# File 'lib/ruby_event_store/rspec/be_event.rb', line 31 def initialize(expected_klass, , expected_data) @expected_klass = expected_klass @expected_metadata = @expected_data = expected_data end |
Instance Method Details
#to_s ⇒ Object
37 38 39 |
# File 'lib/ruby_event_store/rspec/be_event.rb', line 37 def to_s ["\nexpected: ", @expected_klass, with, , data] end |