Class: Stove::Error::ErrorBinding
- Inherits:
-
Object
- Object
- Stove::Error::ErrorBinding
- Defined in:
- lib/stove/error.rb
Instance Method Summary collapse
- #get_binding ⇒ Object
-
#initialize(options = {}) ⇒ ErrorBinding
constructor
A new instance of ErrorBinding.
Constructor Details
#initialize(options = {}) ⇒ ErrorBinding
Returns a new instance of ErrorBinding.
6 7 8 9 10 |
# File 'lib/stove/error.rb', line 6 def initialize( = {}) .each do |key, value| instance_variable_set(:"@#{key}", value) end end |
Instance Method Details
#get_binding ⇒ Object
12 13 14 |
# File 'lib/stove/error.rb', line 12 def get_binding binding end |