Skip to content

Commit e33c565

Browse files
committed
CONFIG takes a symbol argument (fixes #388)
1 parent 3fb09d1 commit e33c565

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/redis.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ def bgsave
128128

129129
# Get or set server configuration parameters.
130130
#
131-
# @param [String] action e.g. `get`, `set`, `resetstat`
131+
# @param [Symbol] action e.g. `:get`, `:set`, `:resetstat`
132132
# @return [String, Hash] string reply, or hash when retrieving more than one
133133
# property with `CONFIG GET`
134134
def config(action, *args)

0 commit comments

Comments
 (0)