Class: TaoForm::Components::MomentPicker::Segments::MinuteSegmentComponent
- Inherits:
-
Base
- Object
- TaoOnRails::Components::Base
- Base
- TaoForm::Components::MomentPicker::Segments::MinuteSegmentComponent
- Defined in:
- lib/tao_form/components/moment_picker/segments/minute_segment_component.rb
Instance Attribute Summary collapse
-
#step ⇒ Object
readonly
Returns the value of attribute step.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(view, options = {}) ⇒ MinuteSegmentComponent
constructor
A new instance of MinuteSegmentComponent.
Constructor Details
#initialize(view, options = {}) ⇒ MinuteSegmentComponent
Returns a new instance of MinuteSegmentComponent.
9 10 11 12 |
# File 'lib/tao_form/components/moment_picker/segments/minute_segment_component.rb', line 9 def initialize view, = {} super view, @step = .delete(:step) end |
Instance Attribute Details
#step ⇒ Object (readonly)
Returns the value of attribute step.
7 8 9 |
# File 'lib/tao_form/components/moment_picker/segments/minute_segment_component.rb', line 7 def step @step end |
Class Method Details
.component_name ⇒ Object
14 15 16 |
# File 'lib/tao_form/components/moment_picker/segments/minute_segment_component.rb', line 14 def self.component_name :moment_picker_minute_segment end |