Method: Mara::Model::Attributes#to_h

Defined in:
lib/mara/model/attributes.rb

#to_hHash<String, Any>

Dump the storage backend into a hash.

Returns:

  • (Hash<String, Any>)

Since:

  • 1.0.0



133
134
135
# File 'lib/mara/model/attributes.rb', line 133

def to_h
  @storage.dup
end