Sha256: f916aa3d1e23235a5573b5d6a338c96eb83f2eba542d454b92585a2309c1ad3a
Contents?: true
Size: 488 Bytes
Versions: 4
Compression:
Stored size: 488 Bytes
Contents
require 'forwardable' module Flipper class Toggle extend Forwardable attr_reader :gate def_delegators :@gate, :key, :feature, :adapter def initialize(gate) @gate = gate end def enable(thing) raise 'Not implemented' end def disable(thing) raise 'Not implemented' end def value raise 'Not implemented' end end end require 'flipper/toggles/boolean' require 'flipper/toggles/set' require 'flipper/toggles/value'
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
flipper-0.2.1 | lib/flipper/toggle.rb |
flipper-0.2.0 | lib/flipper/toggle.rb |
flipper-0.1.1 | lib/flipper/toggle.rb |
flipper-0.1.0 | lib/flipper/toggle.rb |