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
14
# File 'lib/etcher/loaders/hash.rb', line 11

def initialize(**attributes)
  @attributes = attributes
  freeze
end

Instance Method Details

#callObject



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

def call = Success attributes