ryan davis

SexpPath: A Ruby DSL for Pattern Matching S-Expressions

Ruby Inside  Tue, 07/14/2009 - 10:48

With people occasionally talking about "Code vs.

Data", it only makes sense that you should be able process over code as you would a string. Sexp Path is a code processing tool that allows you to search over and process Ruby code in the form of S-Expressions.


 

RubyGems 1.3.2: Now with Plugins

Ruby Inside  Wed, 04/22/2009 - 15:52

Last week, the latest version of Ruby packaging library/tool, RubyGems, was released. rubygems.pngVersion 1.3.2 not only has a bunch of bug fixes (including supporting https URLs for gem sources) and improvements, but a number of new features.


 

3 Tools for DRYing Your Ruby Code

Ruby Inside  Fri, 11/07/2008 - 15:03

hercules-and-atlas.gif We've all heard the admonitions: "Don't Repeat Yourself!" But how do you avoid this if you're working on a Ruby codebase that stretches to thousands of lines, maintained by multiple developers?

One answer is to run a tool that looks for duplicate code. This is an area where good tools are tantalizingly close - there are at least three out there that are worth checking out:


 

Ruby Cheat Sheets

Ruby Inside  Fri, 02/08/2008 - 06:58

Ruby is an incredibly easy language to learn, but it’s still often necessary to look up something we’ve forgotten.

Often this can be done by using Google or using any Ruby books we have on our shelves, but sometimes it’s handy to refer to a simpler set of notes, such as a “cheat sheet.” Quite a few Ruby developers have made cheat sheets for Ruby, and this post attempts to cover the most interesting ones.