Class: Ohm::Model::IndexNotFound

Inherits:
Ohm::Error
  • Object
show all
Defined in:
lib/ohm.rb

Instance Method Summary (collapse)

Constructor Details

- (IndexNotFound) initialize(att)

A new instance of IndexNotFound



307
308
309
# File 'lib/ohm.rb', line 307

def initialize(att)
  @att = att
end

Instance Method Details

- (Object) message



311
312
313
# File 'lib/ohm.rb', line 311

def message
  "Index #{@att.inspect} not found."
end