Sha256: 25465b63ef301c4b9d163ada5e1e9021efcfa5ce2802ec0b1d115888f83c0a2b

Contents?: true

Size: 211 Bytes

Versions: 1

Compression:

Stored size: 211 Bytes

Contents

module Formulaic
  module Inputs
    class BooleanInput < Input
      def fill
        if value
          check(label.to_str)
        else
          uncheck(label.to_str)
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
formulaic-0.4.1 lib/formulaic/inputs/boolean_input.rb