module Voom::Presenters::DSL::Components::Mixins::DateTimeFields

Public Instance Methods

date_field(**attribs, &block) click to toggle source
# File lib/voom/presenters/dsl/components/mixins/date_time_fields.rb, line 12
def date_field(**attribs, &block)
  self << Components::DateField.new(parent: self,
                                    **attribs, &block)
end
datetime_field(**attribs, &block) click to toggle source
# File lib/voom/presenters/dsl/components/mixins/date_time_fields.rb, line 7
def datetime_field(**attribs, &block)
  self << Components::DatetimeField.new(parent: self,
                                        **attribs, &block)
end
time_field(**attribs, &block) click to toggle source
# File lib/voom/presenters/dsl/components/mixins/date_time_fields.rb, line 17
def time_field(**attribs, &block)
  self << Components::TimeField.new(parent: self,
                                    **attribs, &block)
end