Exception: RPH::FormAssistant::Error
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- RPH::FormAssistant::Error
- Defined in:
- lib/form_assistant/error.rb
Overview
class used to DRY up error handling
Class Method Summary collapse
Class Method Details
.message(msg = nil) ⇒ Object
5 6 7 |
# File 'lib/form_assistant/error.rb', line 5 def self.(msg=nil) msg.nil? ? @message : self. = msg end |
.message=(msg) ⇒ Object
9 10 11 |
# File 'lib/form_assistant/error.rb', line 9 def self.(msg) @message = msg end |