Class: Etcher::Loaders::Hash
- Inherits:
-
Object
- Object
- Etcher::Loaders::Hash
- Defined in:
- lib/etcher/loaders/hash.rb
Overview
Loads (wraps) raw attributes.
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(**attributes) ⇒ Hash
constructor
A new instance of Hash.
Constructor Details
#initialize(**attributes) ⇒ Hash
Returns a new instance of Hash.
11 12 13 |
# File 'lib/etcher/loaders/hash.rb', line 11 def initialize(**attributes) @attributes = attributes end |
Instance Method Details
#call ⇒ Object
15 |
# File 'lib/etcher/loaders/hash.rb', line 15 def call = Success attributes |