Class: Vime::Ui::Time::CurrentTime

Inherits:
Component
  • Object
show all
Defined in:
app/components/vime/ui/time/current_time.rb

Instance Method Summary collapse

Instance Method Details

#callObject



11
12
13
# File 'app/components/vime/ui/time/current_time.rb', line 11

def call
   "vm-current-time", nil, process_attrs(dom_attrs)
end

#dom_attrsObject



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