Method: Messaging::ExpectedVersion#match!
- Defined in:
- lib/messaging/expected_version.rb
#match!(other_version) ⇒ Object
26 27 28 29 |
# File 'lib/messaging/expected_version.rb', line 26 def match!(other_version) return true if matches?(other_version) raise Error, "expected: #{version} actual: #{other_version}" end |