Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Some [hopefully] useful extensions to Ruby’s String class. It is made up of three libraries: ActsAsUrl [permalink solution with better character translation], Unidecoder [Unicode to Ascii transliteration], and StringExtensions [miscellaneous helper methods for the String class].
Ruby

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib/lucky_sneaks
tasks
test
.gitignore
MIT-LICENSE
README
Rakefile
init.rb

README

stringex
========

Some [hopefully] useful extensions to Ruby's String class. It is made up of acts_as_url, unidecode, and the generic sounding string_extensions libraries.


Examples
=======

TK. In the meantime, check out the test suite which has examples [are tests examples?] of their usages.


Thanks & Acknowledgements
=========================

If it's not painfully obvious, acts_as_url is based on Rick Olsen's permalink_fu[1] plugin. unidecode is a Ruby port of Sean Burke's Text::Unidecode[2] module for Perl. And, finally, the bulk of String#strip_html was stolen from Tobias -Fünke's- Lütke's Regex in Typo[3].

[1] http://svn.techno-weenie.net/projects/plugins/permalink_fu/
[2] http://interglacial.com/~sburke/tpj/as_html/tpj22.html
[3] http://typosphere.org/

copyright (c) 2008 Lucky Sneaks, released under the MIT license
Something went wrong with that request. Please try again.