Exception: MR::FakeRecord::NoAttributeError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- MR::FakeRecord::NoAttributeError
- Defined in:
- lib/mr/fake_record/attributes.rb
Instance Method Summary collapse
-
#initialize(attr_name) ⇒ NoAttributeError
constructor
A new instance of NoAttributeError.
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 |