RVM is a nice tool that manages multiple installations of Ruby, JRuby, gems, etc. It's very useful if you're working on both Ruby and JRuby projects.
http://rvm.beginrescueend.com/
Citrus is a fun parser generator for Ruby. It lets you mix small bits of Ruby code in with your parser grammar.
http://mjijackson.com/citrus/
Invoking a method with a ampersand-parameter:
http://blog.jayfields.com/2007/01/ruby-invoking-method-with.html
Debugging
http://bashdb.sourceforge.net/ruby-debug.html
You want to run
Debugger.start
as soon as you can (preferably at the top level) so the debugger can capture the full stack frame.
This topic: Tech
>
TechNotes
>
ProgrammingNotes
>
RubyNotes
Topic revision: r3 - 27 Sep 2010 - TobyCabot
Copyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding The Caboteria?
Send feedback