module Redis::Stream::Type

Constants

ACTION
PING
PONG

Public Class Methods

exists?(type) click to toggle source
# File lib/redis/stream/type.rb, line 9
def self.exists?(type)
  self.constants.include?(type.upcase.to_sym)
end
to_s() click to toggle source
# File lib/redis/stream/type.rb, line 13
def self.to_s
  self.constants.map { |m| m.to_s.downcase }.join(', ')
end