A trio of [hopefully] useful extensions to Ruby's String class
Ruby
Switch branches/tags
Nothing to show
Pull request Compare This branch is 606 commits behind rsl:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib/lucky_sneaks
test
.gitignore
MIT-LICENSE
README.rdoc
Rakefile
init.rb

README.rdoc

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 plugin. unidecode is a Ruby port of Sean Burke's Text::Unidecode module for Perl. And, finally, the bulk of String#strip_html was stolen from Tobias -Fünke's- Lütke's Regex in Typo.

1

svn.techno-weenie.net/projects/plugins/permalink_fu/

2

interglacial.com/~sburke/tpj/as_html/tpj22.html

3

typosphere.org/

copyright © 2008 Lucky Sneaks, released under the MIT license