Class: RedisWebManager::Action
- Inherits:
-
Base
- Object
- Base
- RedisWebManager::Action
show all
- Defined in:
- lib/redis_web_manager/action.rb
Instance Attribute Summary
Attributes inherited from Base
#instance
Instance Method Summary
collapse
Methods inherited from Base
#initialize
Instance Method Details
#del(key) ⇒ Object
13
14
15
|
# File 'lib/redis_web_manager/action.rb', line 13
def del(key)
redis.del(key)
end
|
#flushall ⇒ Object
5
6
7
|
# File 'lib/redis_web_manager/action.rb', line 5
def flushall
redis.flushall
end
|
#flushdb ⇒ Object
9
10
11
|
# File 'lib/redis_web_manager/action.rb', line 9
def flushdb
redis.flushdb
end
|
#rename(old_name, new_name) ⇒ Object
17
18
19
|
# File 'lib/redis_web_manager/action.rb', line 17
def rename(old_name, new_name)
redis.rename(old_name, new_name)
end
|