Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Changeset [935bd0fef8e26f4ec65fe411a1d29942493f8d46] by Manfred Stienstra

Revision 935bd0fef8e26f4ec65fe411a1d29942493f8d46, committed by Manfred Stienstra · November 4th, 2009 @ 09:12 AM

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] http://github.com/rails/rails/commit/935bd0fef8e26f4ec65fe411a1d299...

2 changed files

  • M activesupport/lib/active_support/multibyte/chars.rb
  • M activesupport/test/multibyte_chars_test.rb