Differently hackish keyword arguments for Ruby

maca’s arguments – keyword arguments support for Ruby, now. Wickedly clever hack that does reflection on Ruby 1.9 and uses ParseTree for Ruby 1.8. Simpler than I thought it’d be, I wish I’d thought of that.

Caveat: I haven’t tried it yet. It might punch kittens. In fact, if you think parts of Ruby are “too magical”, this definitely punches kittens.

By Adam Keys

Telling a joke. Typing.

1 comment

  1. Hi, thanks for your post.

    I am the author of the gem, in the last version there has been a number of fixes and I think is a very plausible alternative to traditional options hash besides don’t we all like to punch kittens ;)

    btw, I enjoyed your Sinatra screencast.

Comments are closed.