Exception: CouchObject::Errors::CantCompareSize

Inherits:
StandardError
  • Object
show all
Defined in:
lib/couch_object/error_classes.rb

Overview

Is raised when trying to compare two object of which none has been saved.

Instance Method Summary collapse

Instance Method Details

#messageObject Also known as: to_s



40
41
42
43
# File 'lib/couch_object/error_classes.rb', line 40

def message
  "Can't compare the size of two objects unless at least one of " +  \
  "them has been saved and both have timestamps."
end