Exception: Neuromancer::Indexer::InvalidDocument
- Defined in:
- lib/neuromancer/indexer.rb
Instance Attribute Summary collapse
-
#errors ⇒ Object
readonly
Returns the value of attribute errors.
Instance Method Summary collapse
-
#initialize(errors) ⇒ InvalidDocument
constructor
A new instance of InvalidDocument.
- #inspect ⇒ Object
- #message ⇒ Object
Constructor Details
#initialize(errors) ⇒ InvalidDocument
Returns a new instance of InvalidDocument.
22 23 24 |
# File 'lib/neuromancer/indexer.rb', line 22 def initialize(errors) @errors = errors end |
Instance Attribute Details
#errors ⇒ Object (readonly)
Returns the value of attribute errors.
20 21 22 |
# File 'lib/neuromancer/indexer.rb', line 20 def errors @errors end |
Instance Method Details
#inspect ⇒ Object
30 31 32 |
# File 'lib/neuromancer/indexer.rb', line 30 def inspect "#<#{self.class.name}: '#{}'>" end |
#message ⇒ Object
26 27 28 |
# File 'lib/neuromancer/indexer.rb', line 26 def errors.join(', ') end |