mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
9e67954dcf
While calling String#first or String#last with zero or a Fixnum < the string's length returns a new string, a Fixnum >= the string's length returns the string itself. This inconsistency can lead to inadvertent mutation of a string. |
||
---|---|---|
.. | ||
active_support | ||
active_support.rb |