Class: Islo::Redis::Client
- Defined in:
- lib/islo/commands/redis.rb
Overview
Redis client
Instance Attribute Summary
Attributes inherited from Command
Class Method Summary collapse
Instance Method Summary collapse
- #args ⇒ Object
-
#wd ⇒ Object
Change working directory (makes for a nicer prompt).
Methods inherited from Command
Constructor Details
This class inherits a constructor from Islo::Command
Class Method Details
.name ⇒ Object
8 9 10 |
# File 'lib/islo/commands/redis.rb', line 8 def self.name :'redis-cli' end |
Instance Method Details
#args ⇒ Object
12 13 14 |
# File 'lib/islo/commands/redis.rb', line 12 def args %w(-s redis.sock) end |
#wd ⇒ Object
Change working directory (makes for a nicer prompt)
17 18 19 |
# File 'lib/islo/commands/redis.rb', line 17 def wd super + 'tmp/sockets' end |