Sha256: 95a6abbf37d17368757e77a895b73eaaff724c193d4278969120fe2629e532e9

Contents?: true

Size: 274 Bytes

Versions: 36

Compression:

Stored size: 274 Bytes

Contents

require 'bundler/setup'
require 'logger'

require 'flipper/adapters/redis'

Flipper[:stats].enable

if Flipper[:stats].enabled?
  puts "Enabled!"
else
  puts "Disabled!"
end

Flipper[:stats].disable

if Flipper[:stats].enabled?
  puts "Enabled!"
else
  puts "Disabled!"
end

Version data entries

36 entries across 36 versions & 1 rubygems

Version Path
flipper-redis-0.26.0.rc2 examples/redis/basic.rb
flipper-redis-0.26.0.rc1 examples/redis/basic.rb
flipper-redis-0.25.4 examples/redis/basic.rb
flipper-redis-0.25.3 examples/redis/basic.rb
flipper-redis-0.25.2 examples/redis/basic.rb
flipper-redis-0.25.1 examples/redis/basic.rb
flipper-redis-0.25.0 examples/redis/basic.rb
flipper-redis-0.24.1 examples/redis/basic.rb
flipper-redis-0.24.0 examples/redis/basic.rb
flipper-redis-0.23.1 examples/redis/basic.rb
flipper-redis-0.23.0 examples/redis/basic.rb
flipper-redis-0.22.2 examples/redis/basic.rb
flipper-redis-0.22.1 examples/redis/basic.rb
flipper-redis-0.22.0 examples/redis/basic.rb
flipper-redis-0.21.0 examples/redis/basic.rb
flipper-redis-0.21.0.rc2 examples/redis/basic.rb