Permalink
Browse files

Clean up redundant backslashes

  • Loading branch information...
1 parent d491130 commit 4b10585128fcaf3270ece6829c3511fbbba529ac @gmile gmile committed May 14, 2011
Showing with 4 additions and 4 deletions.
  1. +4 −4 actionpack/lib/action_view/helpers/date_helper.rb
@@ -841,14 +841,14 @@ def build_options_and_select(type, selected, options = {})
# Build select option html from date value and options.
# build_options(15, :start => 1, :end => 31)
# => "<option value="1">1</option>
- # <option value=\"2\">2</option>
- # <option value=\"3\">3</option>..."
+ # <option value="2">2</option>
+ # <option value="3">3</option>..."
#
# If <tt>:step</tt> options is passed
# build_options(15, :start => 1, :end => 31, :step => 2)
# => "<option value="1">1</option>
- # <option value=\"3\">3</option>
- # <option value=\"5\">5</option>..."
+ # <option value="3">3</option>
+ # <option value="5">5</option>..."
def build_options(selected, options = {})
start = options.delete(:start) || 0
stop = options.delete(:end) || 59

0 comments on commit 4b10585

Please sign in to comment.