Class: UwsgiItClient::ErrorHash
- Inherits:
-
Hash
- Object
- Hash
- UwsgiItClient::ErrorHash
- Defined in:
- lib/uwsgi_it_client/error_hash.rb
Instance Method Summary collapse
-
#initialize ⇒ ErrorHash
constructor
A new instance of ErrorHash.
Constructor Details
#initialize ⇒ ErrorHash
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 |