Exception: Mongo::Fixture::MissingProcessedValueError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/mongo-fixture.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, field = nil) ⇒ MissingProcessedValueError

Returns a new instance of MissingProcessedValueError.



141
142
143
144
# File 'lib/mongo-fixture.rb', line 141

def initialize message, field = nil
  @field = field
  super message
end

Instance Attribute Details

#fieldObject

Returns the value of attribute field.



140
141
142
# File 'lib/mongo-fixture.rb', line 140

def field
  @field
end