Class: Stove::Error::ErrorBinding

Inherits:
Object
  • Object
show all
Defined in:
lib/stove/error.rb

Instance Method Summary collapse

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(options = {})
  options.each do |key, value|
    instance_variable_set(:"@#{key}", value)
  end
end

Instance Method Details

#get_bindingObject



12
13
14
# File 'lib/stove/error.rb', line 12

def get_binding
  binding
end