Class: Cinch::Storage
- Inherits:
-
Object
- Object
- Cinch::Storage
- Includes:
- Enumerable
- Defined in:
- lib/cinch/storage.rb,
lib/cinch/storage/null.rb,
lib/cinch/storage/yaml.rb
Overview
Note:
The interface of this class isn’t fixed yet. You shouldn’t use it yet.
Defined Under Namespace
Instance Method Summary (collapse)
-
- (Object?) [](key)
-
- (value) []=(key, value)
-
- (Object?) delete(key)
The deleted object.
-
- (self) delete_if
-
- (self) each
-
- (self) each_key
-
- (self) each_value
-
- (Boolean) has_key?(key)
(also: #include?, #key?, #member?)
-
- (Storage) initialize(options, plugin)
constructor
A new instance of Storage.
-
- (Object) save
-
- (Object) unload
Constructor Details
- (Storage) initialize(options, plugin)
A new instance of Storage
9 10 |
# File 'lib/cinch/storage.rb', line 9 def initialize(, plugin) end |
Instance Method Details
- (Object?) [](key)
14 15 |
# File 'lib/cinch/storage.rb', line 14 def [](key) end |
- (value) []=(key, value)
20 21 |
# File 'lib/cinch/storage.rb', line 20 def []=(key, value) end |
- (Object?) delete(key)
The deleted object
49 50 |
# File 'lib/cinch/storage.rb', line 49 def delete(key) end |
- (self) delete_if
53 54 55 |
# File 'lib/cinch/storage.rb', line 53 def delete_if self end |
- (self) each
24 25 26 |
# File 'lib/cinch/storage.rb', line 24 def each self end |
- (self) each_key
29 30 31 |
# File 'lib/cinch/storage.rb', line 29 def each_key self end |
- (self) each_value
34 35 36 |
# File 'lib/cinch/storage.rb', line 34 def each_value self end |
- (Boolean) has_key?(key) Also known as: include?, key?, member?
40 41 42 |
# File 'lib/cinch/storage.rb', line 40 def has_key?(key) false end |
- (Object) save
57 58 |
# File 'lib/cinch/storage.rb', line 57 def save end |
- (Object) unload
60 61 |
# File 'lib/cinch/storage.rb', line 60 def unload end |