class RubyEventStore::RSpec::BeEvent::KindMatcher

Public Class Methods

new(expected) click to toggle source
# File lib/ruby_event_store/rspec/be_event.rb, line 7
def initialize(expected)
  @expected = expected
end

Public Instance Methods

matches?(actual) click to toggle source
# File lib/ruby_event_store/rspec/be_event.rb, line 11
def matches?(actual)
  @expected === actual
end