Class: UwsgiItClient::ErrorHash

Inherits:
Hash
  • Object
show all
Defined in:
lib/uwsgi_it_client/error_hash.rb

Instance Method Summary collapse

Constructor Details

#initializeErrorHash

Returns a new instance of ErrorHash.



3
4
5
6
7
# File 'lib/uwsgi_it_client/error_hash.rb', line 3

def initialize
  super do |hash, option|
    hash[option] = raise "No value provided for required options '--#{option}'"
  end
end