Changelog

Michael Ebens edited this page Jan 28, 2016 · 8 revisions

1.0.4 - Jan 29, 2016

Added the modulo operator which calls string.format. Fixed potential infinite loop in split. Thanks to TsT.

1.0.3 - Aug 16, 2012

A small fix to a couple improper string format characters there were causing problems in LuaJIT.

1.0.2 - May 10, 2011

Added three new methods. center was a complement to ljust and rjust. The others were from Rails' extensions to Ruby's String class.

  • The center method.
  • The camelize method.
  • The underscore method.

1.0.1 - May 4, 2011

Nothing has changed in the API, but the implementation of a few things is better.

  • A much better implementation of squeeze, thanks to kikito.
  • Changed uses of string.len (in the form of s:len of course) to #s, making things cleaner.
  • Improved the implementation of lstrip/rstrip by using the "%s" pattern.

1.0 - April 28, 2011

Initial release.

Clone this wiki locally
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.