Class: DaisyUI::Progress

Inherits:
Base
  • Object
show all
Defined in:
lib/daisy_ui/progress.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: :progress) ⇒ Progress

Returns a new instance of Progress.



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

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

Instance Method Details

#view_templateObject



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

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