Ruby for Plazes

Peter Rukavina
The code described here has been moved into Subversion.

I’ve done some work this week expanding on the work I wrote about in the post Talking to Plazes from Ruby: I’ve now created general-purpose Ruby module that implements all of the [[Plazes]] API methods, both the Launcher and the WhereAmI.

Here’s what you need to start talking to [[Plazes]] from Ruby yourself:

Note that my implementation is very Mac OS X specific because of the method I used to grab the MAC address of the current gateway; it should be trivial, however, to modify the code to accommodate other operating systems (there are plenty of comments in the code to suggest where and what).

And here’s (primitive) proof that it works:

Screen shot showing Ruby talking to Plazes

Comments

Submitted by art on

Permalink

Cool! Thanks for sharing this Peter, it’s a great example for those of us trying to figure out where ruby fits into the perl/php/python/… landscape.

Add new comment

Plain text

  • Allowed HTML tags: <b> <i> <em> <strong> <blockquote> <code> <ul> <ol> <li>
  • Lines and paragraphs break automatically.

About This Blog

Photo of Peter RukavinaI am . I am a writer, letterpress printer, and a curious person.

To learn more about me, read my /nowlook at my bio, read presentations and speeches I’ve written, or get in touch (peter@rukavina.net is the quickest way). You can subscribe to an RSS feed of posts, an RSS feed of comments, or receive a daily digests of posts by email.

Search