Sha256: af7235e414833003ec9ea12ccce4ef00a8e8228cc827086006ac68cf524312ee

Contents?: true

Size: 302 Bytes

Versions: 5

Compression:

Stored size: 302 Bytes

Contents

module FakeRedis
  class Redis
    module ConnectionMethods

      def auth(password)
        true
      end

      def echo(string)
        string
      end

      def ping
        "PONG"
      end

      def quit ; end

      def select(index) ; end

    end

    include ConnectionMethods
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
fakeredis-0.1.4 lib/fakeredis/connection.rb
fakeredis-0.1.3 lib/fakeredis/connection.rb
fakeredis-0.1.2 lib/fakeredis/connection.rb
fakeredis-0.1.1 lib/fakeredis/connection.rb
fakeredis-0.1.0 lib/fakeredis/connection.rb