Sha256: 1ecb3fdc56e0eee0e78542feeb71ea28b5225410aafe9a8ddd15f55b0c62ec3a

Contents?: true

Size: 525 Bytes

Versions: 6

Compression:

Stored size: 525 Bytes

Contents

module TaoForm
  module Components
    module MomentPicker
      module Segments
        class HourSegmentComponent < TaoForm::Components::MomentPicker::Segments::Base

          def self.component_name
            :moment_picker_hour_segment
          end

          private

          def default_options
            merge_options(super, {
              class: 'tao-moment-picker-hour-segment',
              label_format: t(:label, hour: '{{ hour }}')
            })
          end

        end
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
tao_form-1.0.0.beta.2 lib/tao_form/components/moment_picker/segments/hour_segment_component.rb
tao_form-1.0.0.beta.1 lib/tao_form/components/moment_picker/segments/hour_segment_component.rb
tao_form-0.2.3 lib/tao_form/components/moment_picker/segments/hour_segment_component.rb
tao_form-0.2.2 lib/tao_form/components/moment_picker/segments/hour_segment_component.rb
tao_form-0.2.1 lib/tao_form/components/moment_picker/segments/hour_segment_component.rb
tao_form-0.2.0 lib/tao_form/components/moment_picker/segments/hour_segment_component.rb