Class: LayoutOptions::Storage

Inherits:
Object
  • Object
show all
Defined in:
lib/layout_options/storage.rb

Class Method Summary collapse

Class Method Details

.[](key) ⇒ Object

:nodoc:



4
5
6
7
# File 'lib/layout_options/storage.rb', line 4

def[](key) # :nodoc:
  @storage ||= {}
  @storage[key]
end

.[]=(key, value) ⇒ Object

:nodoc:



9
10
11
12
# File 'lib/layout_options/storage.rb', line 9

def []=(key, value) # :nodoc:
  @storage ||= {}
  @storage[key] = value
end