Exception: JobNotifier::Error::BlankAttribute
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- JobNotifier::Error::BlankAttribute
- Defined in:
- lib/job_notifier/error.rb
Instance Method Summary collapse
-
#initialize(attribute) ⇒ BlankAttribute
constructor
A new instance of BlankAttribute.
Constructor Details
#initialize(attribute) ⇒ BlankAttribute
Returns a new instance of BlankAttribute.
16 17 18 |
# File 'lib/job_notifier/error.rb', line 16 def initialize(attribute) super("#{attribute} cant be blank") end |