Der aktuelle Klugschiss

{ llengua: catalĂ  | Sprache: Deutsch }

xungu - nicht ganz einfach

cutre - schäbig, gammelig

xulu - cool

Related

ATOM 1.0ATOM 1.0

Thomas Steiner is @tomayac on Twitter@tomayac on Twitter

Tweet archive of tweets by @tomayac@tomayac Tweet Archive

Thomas Steiner's Google ProfileGoogle Profile

A Look Inside the Think Tank...

Generate Ruby from your WADL REST API Descriptions with REST Describe & Compile

Created on Friday, May 25, 2007 at 19:11:30 and categorized as Work by Thomas Steiner

Generate Ruby from your WADL REST API Descriptions with REST Describe & Compile

I have been digging a bit into Ruby today, and I must say that probably I will not really make friends with this hip language. Honestly, is it necessary to do stuff like this:


puts "1, 2, " + 3.to_s
Mind the little to_s that has to convert the Fixnum into a String before printing. I know, everything is an object, but come on, a scripting language should be somewhat more forgiving. At least this is what I think.

Anyway, the latest version 0.2.1 of REST Describe & Compile comes with Ruby support. As you can see from the introduction, I am not much a Ruby guy (yet), so any suggestions to improve the quality of the auto-generated code are highly appreciated.

You can download the source code under a BSD license, and as always the latest version is available directly from my web space. Auch auf deutsch . You can access older versions by hacking the URL: http://tomayac.de/rest-describe/0.X.Y/RestDescribe.html, where X and Y stand for the old version numbers.

Show/Hide Comment Form | Show/Hide Comments | Permalink

Tweet