Class: Asynchronic::DataStore::ReadonlyStore
- Inherits:
-
TransparentProxy
- Object
- TransparentProxy
- Asynchronic::DataStore::ReadonlyStore
show all
- Includes:
- Helper
- Defined in:
- lib/asynchronic/data_store/readonly_store.rb
Instance Method Summary
collapse
Methods included from Helper
#clear, #each, #lazy, #lazy?, #merge, #no_lazy, #readonly, #scoped
Instance Method Details
#[]=(key, value) ⇒ Object
7
8
9
|
# File 'lib/asynchronic/data_store/readonly_store.rb', line 7
def []=(key, value)
raise "Can't modify read only data store"
end
|
#readonly? ⇒ Boolean
11
12
13
|
# File 'lib/asynchronic/data_store/readonly_store.rb', line 11
def readonly?
true
end
|