em-hiredis
em-hiredis copied to clipboard
Method `respond_to?` returns false for any redis command
redis = EM::Hiredis.connect
redis.set('some_key', 'some_value') # works great!
redis.respond_to?(:set) # => false :(
Looks like missing respond_to_missing?
definition.
Since the list of valid redis commands is not hard-coded (intentionally), this is not trivial to implement. It would be possible by requesting and storing a list of commands on connect, but I doubt complexity would be worthwhile.