Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
23 lines (12 sloc) 240 Bytes

Xkcd

Ruby wrapper for the xkcd API

Usage

Deadly simple:

Xkcd[1000] # Get comic by id

Xkcd.latest # Get the latest comic - orly?

Xkcd.random # Get a random comic

Groovy, huh?

TODO

  • Wrap explainxkcd.com wiki(?)