Exception: RicException
- Inherits:
-
Exception
- Object
- Exception
- RicException
- Defined in:
- lib/classes/debug_ric.rb
Overview
TBD sposta in altro file
Instance Attribute Summary collapse
-
#description ⇒ Object
readonly
Returns the value of attribute description.
-
#options ⇒ Object
readonly
Returns the value of attribute options.
Instance Method Summary collapse
-
#initialize(str, opts = {}) ⇒ RicException
constructor
A new instance of RicException.
- #to_s ⇒ Object
Constructor Details
#initialize(str, opts = {}) ⇒ RicException
Returns a new instance of RicException.
175 176 177 178 179 |
# File 'lib/classes/debug_ric.rb', line 175 def initialize(str,opts={}) description = str opts = super(str) end |
Instance Attribute Details
#description ⇒ Object (readonly)
Returns the value of attribute description.
173 174 175 |
# File 'lib/classes/debug_ric.rb', line 173 def description @description end |
#options ⇒ Object (readonly)
Returns the value of attribute options.
173 174 175 |
# File 'lib/classes/debug_ric.rb', line 173 def @options end |
Instance Method Details
#to_s ⇒ Object
181 182 183 |
# File 'lib/classes/debug_ric.rb', line 181 def to_s "Ric_Exception (figata direi!): '''#{red description}'''" end |