Class: Etcher::Loaders::Hash

Inherits:
Object
  • Object
show all
Defined in:
lib/etcher/loaders/hash.rb

Overview

Loads (wraps) raw attributes.

Instance Method Summary collapse

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

#callObject



15
# File 'lib/etcher/loaders/hash.rb', line 15

def call = Success attributes