Sha256: 360219bc8499ba72885cd9bcd1ec69da55176e7cb7ec10256895c16dbae2be52

Contents?: true

Size: 202 Bytes

Versions: 8

Compression:

Stored size: 202 Bytes

Contents

module Flipper
  module Types
    class Boolean < Type
      def initialize(value = nil)
        @value = value.nil? ? true : value
      end

      def value
        @value
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
flipper-0.7.0.beta3 lib/flipper/types/boolean.rb
flipper-0.7.0.beta2 lib/flipper/types/boolean.rb
flipper-0.7.0.beta1 lib/flipper/types/boolean.rb
flipper-0.6.3 lib/flipper/types/boolean.rb
flipper-0.6.2 lib/flipper/types/boolean.rb
flipper-0.6.1 lib/flipper/types/boolean.rb
flipper-0.6.0 lib/flipper/types/boolean.rb
flipper-0.5.0 lib/flipper/types/boolean.rb