module Redis::Stream::Group
Constants
- CACHE
- LIST
- MANIFEST
- METADATA
- REPRESENTATION
- STREAM
- THUMBNAIL
Public Class Methods
exists?(group)
click to toggle source
# File lib/redis/stream/group.rb, line 13 def self.exists?(group) self.constants.include?(group.upcase.to_sym) end
lookup(group)
click to toggle source
# File lib/redis/stream/group.rb, line 21 def self.lookup(group) self.constants.each { |e| return e if e.to_s.downcase.eql?(group.downcase) } return '*' end
to_s()
click to toggle source
# File lib/redis/stream/group.rb, line 17 def self.to_s self.constants.map { |m| m.to_s.downcase }.compact.join(', ') end