Module: Bh::ProgressBarHelper
- Includes:
- BaseHelper
- Defined in:
- lib/bh/helpers/progress_bar_helper.rb
Overview
Provides methods to include progress bars.
Instance Method Summary collapse
-
#progress_bar(options = {}) ⇒ Object
Returns an HTML block tag that follows the Bootstrap documentation on how to display progress bars.
Instance Method Details
#progress_bar(options = {}) ⇒ Object
Returns an HTML block tag that follows the Bootstrap documentation on how to display progress bars.
25 26 27 28 29 |
# File 'lib/bh/helpers/progress_bar_helper.rb', line 25 def ( = {}) content_tag :div, class: :progress do safe_join Array.wrap().map{|| }, "\n" end end |