Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Changeset 7865

Show
Ignore:
Timestamp:
10/13/07 21:41:56 (1 year ago)
Author:
bitsweat
Message:

Don't shadow local var with block var

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/activesupport/lib/active_support/json/decoding.rb

    r7678 r7865  
    5151                      map { |left, right| json[left..right] }. 
    5252                      join(" ") 
    53             times.each { |pos| output[pos-1] = ' ' } 
     53            times.each { |i| output[i-1] = ' ' } 
    5454            output 
    5555          end