Exception: Ripple::NoRootDocument
- Inherits:
-
StandardError
- Object
- StandardError
- Ripple::NoRootDocument
- Includes:
- Translation
- Defined in:
- ripple/lib/ripple/embedded_document/persistence.rb
Overview
Exception raised when save is called on an EmbeddedDocument that is not attached to a root Document.
Instance Method Summary (collapse)
-
- (NoRootDocument) initialize(doc, method)
constructor
A new instance of NoRootDocument.
Methods included from Translation
Methods included from Riak::Util::Translation
Constructor Details
- (NoRootDocument) initialize(doc, method)
A new instance of NoRootDocument
23 24 25 |
# File 'ripple/lib/ripple/embedded_document/persistence.rb', line 23 def initialize(doc, method) super(t("no_root_document", :doc => doc.inspect, :method => method)) end |