css3-progress-bar-rails 0.0.7 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
@@ -35,15 +35,10 @@ module Css3ProgressBarsHelper
|
|
35
35
|
# values. As there is a limit to the number of colors, only the first five
|
36
36
|
# elements of the array will be used.
|
37
37
|
#
|
38
|
-
# An options hash may also be passed to the method, with boolean
|
39
|
-
# :rounded and :tiny.
|
38
|
+
# An options hash may also be passed to the method, with a boolean option available for :tiny
|
40
39
|
def combo_progress_bar percentages, *opts
|
41
40
|
options = opts.extract_options!
|
42
41
|
html_classes = setup_default_container_classes
|
43
|
-
|
44
|
-
if options[:rounded] && options[:rounded] == true
|
45
|
-
handle_rounded_classes(html_classes)
|
46
|
-
end
|
47
42
|
|
48
43
|
if options[:tiny] && options[:tiny] == true
|
49
44
|
handle_tiny_classes(html_classes)
|