Module: Components::ProgressHelper

Defined in:
app/helpers/components/progress_helper.rb

Instance Method Summary collapse

Instance Method Details

#render_progress(value:, **options) ⇒ Object



2
3
4
# File 'app/helpers/components/progress_helper.rb', line 2

def render_progress(value:, **options)
  render "components/ui/progress", value: (100 - value), **options
end