Exception: Divan::DocumentNotFound

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/divan.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(document) ⇒ DocumentNotFound

Returns a new instance of DocumentNotFound.



58
59
60
# File 'lib/divan.rb', line 58

def initialize(document)
  @document = document
end

Instance Attribute Details

#documentObject (readonly)

Returns the value of attribute document.



57
58
59
# File 'lib/divan.rb', line 57

def document
  @document
end