Class: DaisyUI::Countdown

Inherits:
Base
  • Object
show all
Defined in:
lib/daisy_ui/countdown.rb

Constant Summary

Constants inherited from Base

Base::BOOLS, Base::COLOR_MODIFIERS

Instance Method Summary collapse

Methods inherited from Base

inherited, register_modifiers

Constructor Details

#initialize(as: :span) ⇒ Countdown

Returns a new instance of Countdown.



8
9
10
# File 'lib/daisy_ui/countdown.rb', line 8

def initialize(*, as: :span, **)
  super
end

Instance Method Details

#view_templateObject



12
13
14
# File 'lib/daisy_ui/countdown.rb', line 12

def view_template(&)
  public_send(as, class: classes, **attributes, &)
end