Sha256: 23bb56c3fafb1ec5c3cf41ef56af80863e156e787edd48c0a6844a6b8f1c9d5d

Contents?: true

Size: 200 Bytes

Versions: 1402

Compression:

Stored size: 200 Bytes

Contents

# frozen_string_literal: true

module Playbook
  module Props
    class Boolean < Playbook::Props::Base
      def validate(value)
        value === true || value === false
      end
    end
  end
end

Version data entries

1,402 entries across 1,402 versions & 1 rubygems

Version Path
playbook_ui-14.11.0.pre.rc.17 lib/playbook/props/boolean.rb
playbook_ui-14.11.0 lib/playbook/props/boolean.rb
playbook_ui-14.11.0.pre.rc.16 lib/playbook/props/boolean.rb
playbook_ui-14.10.0.pre.alpha.play16825301 lib/playbook/props/boolean.rb
playbook_ui-14.11.0.pre.rc.15 lib/playbook/props/boolean.rb
playbook_ui-14.11.0.pre.rc.14 lib/playbook/props/boolean.rb
playbook_ui-14.11.0.pre.rc.13 lib/playbook/props/boolean.rb
playbook_ui-14.11.0.pre.rc.12 lib/playbook/props/boolean.rb
playbook_ui-14.10.0.pre.alpha.PLAY1774timelinelabelstepspacing5274 lib/playbook/props/boolean.rb
playbook_ui-14.10.0.pre.alpha.play1465attempt25272 lib/playbook/props/boolean.rb
playbook_ui-14.10.0.pre.alpha.play16825244 lib/playbook/props/boolean.rb
playbook_ui-14.11.0.pre.rc.11 lib/playbook/props/boolean.rb
playbook_ui-14.11.0.pre.rc.10 lib/playbook/props/boolean.rb
playbook_ui-14.10.0.pre.alpha.play1662cssbargraph5214 lib/playbook/props/boolean.rb
playbook_ui-14.10.0.pre.alpha.play1662cssbargraph5213 lib/playbook/props/boolean.rb
playbook_ui-14.10.0.pre.alpha.play1662cssbargraph5210 lib/playbook/props/boolean.rb
playbook_ui-14.10.0.pre.alpha.play1662cssbargraph5208 lib/playbook/props/boolean.rb
playbook_ui-14.10.0.pre.alpha.play1662cssbargraph5207 lib/playbook/props/boolean.rb
playbook_ui-14.10.0.pre.alpha.play16825206 lib/playbook/props/boolean.rb
playbook_ui-14.10.0.pre.alpha.play1662cssbargraph5204 lib/playbook/props/boolean.rb