Sha256: b02f645d93e5624f9c1f6d9daa3f6b8f6f6aedac9959e7411f1541642ea4260f
Contents?: true
Size: 528 Bytes
Versions: 1
Compression:
Stored size: 528 Bytes
Contents
module Flipper # Internal: Root class for all flipper types. You should never need to use this. class Type def self.wrap(value_or_instance) return value_or_instance if value_or_instance.is_a?(self) new(value_or_instance) end def value raise 'Not implemented' end end end require 'flipper/types/actor' require 'flipper/types/boolean' require 'flipper/types/group' require 'flipper/types/percentage' require 'flipper/types/percentage_of_actors' require 'flipper/types/percentage_of_time'
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
flipper-0.7.0.beta3 | lib/flipper/type.rb |