Sha256: dd0c15ab30bbf569fcc5c84486ed08b2bdc845bfcd1a2a52872be3fab7a93255

Contents?: true

Size: 418 Bytes

Versions: 8

Compression:

Stored size: 418 Bytes

Contents

require_relative 'datetime_base'

module Voom
  module Presenters
    module DSL
      module Components
        class DateField < DatetimeBase
          attr_reader :config

          def initialize(**attribs_, &block)
            super(type: :date, **attribs_, &block)
            merge_config(:min_date)
            merge_config(:max_date)
            expand!
          end
        end
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
voom-presenters-0.1.13 lib/voom/presenters/dsl/components/date_field.rb
voom-presenters-0.1.12 lib/voom/presenters/dsl/components/date_field.rb
voom-presenters-0.1.11 lib/voom/presenters/dsl/components/date_field.rb
voom-presenters-0.1.10 lib/voom/presenters/dsl/components/date_field.rb
voom-presenters-0.1.9 lib/voom/presenters/dsl/components/date_field.rb
voom-presenters-0.1.8 lib/voom/presenters/dsl/components/date_field.rb
voom-presenters-0.1.7 lib/voom/presenters/dsl/components/date_field.rb
voom-presenters-0.1.6 lib/voom/presenters/dsl/components/date_field.rb