This post originated from an RSS feed registered with Ruby Buzz
by Jan Lelis.
Original Post: Small Ruby CLI Improvements (Part 2): Wirb!
Feed Title: rbJ*_*L.net
Feed URL: http://feeds.feedburner.com/rbJL
Feed Description: Hi, I am a fan of Ruby and like to explore it and the world around ;).
So I started this blog, where I am publishing code snippets, tutorials for beginners as well as general thoughts about Ruby, the web or programming in general.
I’ve been quite happy with it, but sometimes I noted that some symbols were displayed as : without the symbol name (e.g. in method name arrays) and that the representation of regexes looked quite strange.
This is why I’ve looked at the wirble tokenizer, fixed some bugs, liked it, extended it and created Wirb. These are the improvements:
Basic support for regexes
Support for generic objects, especially sets and enumerators
Fixes some symbol bugs (e.g. :+, :*, …)
No changes to the inspect value (e.g. ranges with 4 instead of 3 dots)
Comes with tests
Can be used without irb
Screenshot of the spec output to get an impression: ;)