public
Description: Ruby to Lolcode translator, kthnxbai.
Homepage: http://www.igvita.com/2008/12/11/ruby-ast-for-fun-and-profit/
Clone URL: git://github.com/igrigorik/ruby2lolz.git
igrigorik (author)
Tue Mar 31 14:16:03 -0700 2009
commit  e1c230ce9bc325610b6ace8e77f43a8cc04864db
tree    5a7c04e7cfca4c502b2d5f72c5d6ac42b5afddfe
parent  eaaa9b79ed359c0fe1847c522a308a5077053598
name age message
file README Loading commit data...
directory lib/
file ruby2lolz.gemspec
directory spec/ Wed Dec 10 21:06:04 -0800 2008 initial import, kthnxbai. [igrigorik]
README
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