lib/flipper.rb in flipper-0.2.1 vs lib/flipper.rb in flipper-0.3.0
- old
+ new
@@ -1,13 +1,5 @@
-require 'flipper/dsl'
-require 'flipper/errors'
-require 'flipper/feature'
-require 'flipper/gate'
-require 'flipper/registry'
-require 'flipper/toggle'
-require 'flipper/type'
-
module Flipper
def self.new(*args)
DSL.new(*args)
end
@@ -29,5 +21,13 @@
def self.group(name)
groups.get(name)
end
end
+
+require 'flipper/dsl'
+require 'flipper/errors'
+require 'flipper/feature'
+require 'flipper/gate'
+require 'flipper/registry'
+require 'flipper/toggle'
+require 'flipper/type'