Tag Archives: ruby

Ruby's Lisp Heritage

There’s an article The Ruby VALUE on O’Reillynet today. It shows a rather neat hack whereby ruby uses a few bits of an integer to specify extra information, like whether the value is nil or not. It does mean that FixNums only go up to 230 instead of 232, but that’s not a serious limitation, […]

irb

Top top for using irb, the interactive ruby environment. Stick this in your ~/.bashrc or equivalent. irb –readline -r irb/completion And now you get nice completion of class and method names inside ruby. Lovely! Just like Python’s rlcompleter. More info from Why’s Poignant Guide (which could use a few anchor’s). As a side note, Ubuntu […]

Rake

Rake is Ruby’s equivalent of make(1). Martin fowler has just posted an excellent article, Using the Rake Build Language, which explores how it works, using his own site’s build file as a comparison. It also compares it to make and ant. I find it really nice how easily Ruby lets you build your own little […]