This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
Run the following if you haven't already:
gem sources -a http://gems.github.com
Install the gem(s):
sudo gem install igrigorik-ruby2lolz
| name | age | message | |
|---|---|---|---|
| |
README | ||
| |
lib/ | Tue Mar 31 13:45:46 -0700 2009 | |
| |
ruby2lolz.gemspec | Tue Mar 31 14:45:58 -0700 2009 | |
| |
spec/ |
Ruby2Lolz translates Ruby code into LOLCODE (http://www.lolcode.com) For example: class Simple def add(n1, n2) return n1 + n2 end end Ruby2Lolz.translate(Simple, :add) HOW DUZ I HAZ add [YR n1, YR n2] (n1 + n2) IF U SAY SO ### OR ### > Ruby2Lolz.translate({:nickname => [:ig, :igrigorik]}.inspect) OH HAI I CAN HAS Nickname I CAN MANY HAZ AWSUM VAR ig KTHNX. AWSUM VAR igrigorik KTHNX. KTHNXBYE. KTHNX. KTHNXBYE. ### OR ### Put some Lolz into your API! - http://pastie.org/327494












