Class: Bormashino::SessionStorage
- Inherits:
-
LocalStorage
- Object
- LocalStorage
- Bormashino::SessionStorage
- Defined in:
- lib/bormashino/local_storage.rb
Instance Attribute Summary
Attributes inherited from LocalStorage
Instance Method Summary collapse
-
#initialize ⇒ SessionStorage
constructor
A new instance of SessionStorage.
Methods inherited from LocalStorage
#clear, #get_item, #key, #length, #remove_item, #set_item
Constructor Details
#initialize ⇒ SessionStorage
Returns a new instance of SessionStorage.
39 40 41 42 |
# File 'lib/bormashino/local_storage.rb', line 39 def initialize super @storage = JS.global[:sessionStorage] end |