Sha256: 52ddb2eeb90f5d0527b6ee150b5fdce46c07ebf6e952fc21648a85254ae64ab6

Contents?: true

Size: 175 Bytes

Versions: 3

Compression:

Stored size: 175 Bytes

Contents

module Formic
  class Checkbox < Input
    def _initialize name=nil, options={}, &block
      super
      self.options[:type] = 'checkbox'
      return self
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
formic-0.2.5 lib/formic/checkbox.rb
formic-0.2.1 lib/formic/checkbox.rb
formic-0.1.0 lib/formic/checkbox.rb