File: console

package info (click to toggle)
ruby-redis-client 0.28.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 1,116 kB
  • sloc: ansic: 7,517; ruby: 5,801; makefile: 246; sh: 123
file content (13 lines) | stat: -rwxr-xr-x 315 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/env ruby
# frozen_string_literal: true

require "bundler/setup"
$LOAD_PATH.unshift(File.expand_path("../hiredis-client/lib", __dir__))
require "redis-client"
require "hiredis-client"

$redis = RedisClient.new(driver: :ruby)
$hiredis = RedisClient.new(driver: :hiredis)

require "irb"
IRB.start(__FILE__)