Class: Bormashino::SessionStorage

Inherits:
LocalStorage show all
Defined in:
lib/bormashino/local_storage.rb

Overview

Instance Attribute Summary

Attributes inherited from LocalStorage

#store

Instance Method Summary collapse

Methods inherited from LocalStorage

#clear, #get_item, #key, #length, #remove_item, #set_item

Constructor Details

#initializeSessionStorage

Returns a new instance of SessionStorage.



43
44
45
46
# File 'lib/bormashino/local_storage.rb', line 43

def initialize
  super
  @storage = JS.global[:sessionStorage]
end