diff options
author | Manfred Stienstra <manfred@fngtps.com> | 2009-11-01 17:18:27 +0100 |
---|---|---|
committer | Manfred Stienstra <manfred@fngtps.com> | 2009-11-04 10:12:03 +0100 |
commit | 935bd0fef8e26f4ec65fe411a1d29942493f8d46 (patch) | |
tree | 209d11fac03a7917a23d9c1816817cd35018ab98 /pushgems.rb | |
parent | a3d5274e67c841a6fdc9f9acb9e1b6bbc351dd28 (diff) | |
download | rails-935bd0fef8e26f4ec65fe411a1d29942493f8d46.tar.gz rails-935bd0fef8e26f4ec65fe411a1d29942493f8d46.tar.bz2 rails-935bd0fef8e26f4ec65fe411a1d29942493f8d46.zip |
Add ActiveSupport::Multibyte::Chars#limit.
The limit method limits the number of bytes in a string. Useful when the
storage space of the string is limited, for instance in a database column
definition.
Sharpen up the implementation of translate offset.
[#3192 state:committed]
Diffstat (limited to 'pushgems.rb')
0 files changed, 0 insertions, 0 deletions