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-1.3.2 examples/redis/basic.rb
flipper-redis-1.3.1 examples/redis/basic.rb
flipper-redis-1.3.0 examples/redis/basic.rb
flipper-redis-1.3.0.pre examples/redis/basic.rb
flipper-redis-1.2.2 examples/redis/basic.rb
flipper-redis-1.2.1 examples/redis/basic.rb
flipper-redis-1.2.0 examples/redis/basic.rb
flipper-redis-1.1.2 examples/redis/basic.rb
flipper-redis-1.1.1 examples/redis/basic.rb
flipper-redis-1.1.0 examples/redis/basic.rb
flipper-redis-1.0.0 examples/redis/basic.rb
flipper-redis-1.0.0.pre examples/redis/basic.rb
flipper-redis-0.28.3 examples/redis/basic.rb
flipper-redis-0.28.2 examples/redis/basic.rb
flipper-redis-0.28.1 examples/redis/basic.rb
flipper-redis-0.28.0 examples/redis/basic.rb
flipper-redis-0.27.1 examples/redis/basic.rb
flipper-redis-0.27.0 examples/redis/basic.rb
flipper-redis-0.26.2 examples/redis/basic.rb
flipper-redis-0.26.0 examples/redis/basic.rb