Module: Shoehorn::Helpers::ProgressBarHelpers
- Defined in:
- lib/shoehorn/helpers/progress_bar_helpers.rb
Instance Method Summary collapse
-
#bootstrap_progress_bar(width, options = {}) ⇒ Object
Render a bootstrap progress bar.
Instance Method Details
#bootstrap_progress_bar(width, options = {}) ⇒ Object
Render a bootstrap progress bar
Examples
(40, type: 'success', striped: true, animated: true)
18 19 20 21 22 23 |
# File 'lib/shoehorn/helpers/progress_bar_helpers.rb', line 18 def (width, = {}) Shoehorn::Components::ProgressBar.new( width, ).to_s end |