Exception: StateFu::Error
- Defined in:
- lib/support/exceptions.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#binding ⇒ Object
readonly
Returns the value of attribute binding.
-
#options ⇒ Object
readonly
Returns the value of attribute options.
Instance Method Summary collapse
-
#initialize(binding, message = nil, options = {}) ⇒ Error
constructor
A new instance of Error.
Constructor Details
#initialize(binding, message = nil, options = {}) ⇒ Error
Returns a new instance of Error.
9 10 11 12 13 |
# File 'lib/support/exceptions.rb', line 9 def initialize binding, =nil, ={} @binding = binding @options = super end |
Instance Attribute Details
#binding ⇒ Object (readonly)
Returns the value of attribute binding.
7 8 9 |
# File 'lib/support/exceptions.rb', line 7 def binding @binding end |
#options ⇒ Object (readonly)
Returns the value of attribute options.
7 8 9 |
# File 'lib/support/exceptions.rb', line 7 def @options end |