Class: Vime::Ui::Time::CurrentTime
- Defined in:
- app/components/vime/ui/time/current_time.rb
Instance Method Summary collapse
Instance Method Details
#call ⇒ Object
11 12 13 |
# File 'app/components/vime/ui/time/current_time.rb', line 11 def call content_tag "vm-current-time", nil, process_attrs(dom_attrs) end |
#dom_attrs ⇒ Object
15 16 17 18 19 |
# File 'app/components/vime/ui/time/current_time.rb', line 15 def dom_attrs super.merge({ always_show_hours: always_show_hours, }) end |