Class: Admin::DatetimeComponent

Inherits:
ViewComponent::Base
  • Object
show all
Defined in:
lib/generators/infold/templates/install/app/components/admin/datetime_component.rb

Instance Method Summary collapse

Constructor Details

#initialize(form, field) ⇒ DatetimeComponent

Returns a new instance of DatetimeComponent.



5
6
7
8
# File 'lib/generators/infold/templates/install/app/components/admin/datetime_component.rb', line 5

def initialize(form, field)
  @form = form
  @field = field
end