examples/individual_actor.rb in flipper-0.20.4 vs examples/individual_actor.rb in flipper-0.21.0.rc1
- old
+ new
@@ -1,11 +1,8 @@
-require File.expand_path('../example_setup', __FILE__)
-
+require 'bundler/setup'
require 'flipper'
-adapter = Flipper::Adapters::Memory.new
-flipper = Flipper.new(adapter)
-stats = flipper[:stats]
+stats = Flipper[:stats]
# Some class that represents what will be trying to do something
class User
attr_reader :id