Displaying 1 result from an estimated 1 matches for "not_first".
Did you mean:
new_first
2006 Apr 05
0
each_with_styles, for adding CSS classes
...Adds each_with_styles to the Array class.
# each_with_styles takes an hash of optional
# class conditions, and returns a list of all
# that apply.
#
# Possible Conditions:
# ----------------------------------------------
# :all -- always applies
# :first -- only the first element
# :not_first -- all but the first element
# :last -- only the last element
# :not_last -- all but the last element
# :middle -- all but the first and last
# :not_middle -- first and last only
# :odd -- every other, starting with the first
# :even -- every other, starting with the second
class Array...