Exception: MR::FakeRecord::NoAttributeError

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/mr/fake_record/attributes.rb

Instance Method Summary collapse

Constructor Details

#initialize(attr_name) ⇒ NoAttributeError

Returns a new instance of NoAttributeError.



163
164
165
# File 'lib/mr/fake_record/attributes.rb', line 163

def initialize(attr_name)
  super "the '#{attr_name}' attribute doesn't exist"
end