Class: Vime::Ui::Time::Time
- Defined in:
- app/components/vime/ui/time/time.rb
Instance Method Summary collapse
Instance Method Details
#call ⇒ Object
13 14 15 |
# File 'app/components/vime/ui/time/time.rb', line 13 def call content_tag "vm-time", nil, process_attrs(dom_attrs) end |
#dom_attrs ⇒ Object
17 18 19 20 21 22 23 |
# File 'app/components/vime/ui/time/time.rb', line 17 def dom_attrs super.merge({ always_show_hours: always_show_hours, label: label, seconds: seconds, }) end |