lib/sp_store/mocks/ram_store.rb
# Serializes this disk model to a Hash of primitives.
Serializes this disk model to a Hash of primitives.
Serializes this disk model to a Hash of primitives .
def attributes
    {
      :block_size => @block_size, :block_count => @blocks,
      :blocks => @block_data.map(&:dup)
    }
  end
def attributes { :block_size => @block_size , :block_count => @blocks , :blocks => @block_data . map ( & :dup ) } end
Serializes this disk model to a Hash of primitives.
Serializes this disk model to a Hash of primitives .