Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 173d45aec6

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 lib
Octocat-spinner-32 spec
Octocat-spinner-32 README
Octocat-spinner-32 VERSION
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
Something went wrong with that request. Please try again.