2014-08-14 17:43:42 +02:00
|
|
|
require 'flop/version'
|
|
|
|
|
|
|
|
require 'flop/feature'
|
|
|
|
require 'flop/repository/memory'
|
2014-08-14 18:00:15 +02:00
|
|
|
require 'flop/repository/redis'
|
2014-08-14 17:12:22 +02:00
|
|
|
|
|
|
|
module Flop
|
2014-08-14 17:43:42 +02:00
|
|
|
class << self
|
|
|
|
attr_accessor :repo
|
|
|
|
|
|
|
|
def [](feature)
|
|
|
|
Flop::Feature.new(feature)
|
|
|
|
end
|
|
|
|
end
|
2014-08-14 17:12:22 +02:00
|
|
|
end
|