Skip to content

Instantly share code, notes, and snippets.

def multiply(x, y)
x * y
end
p [1,2,3].map(&method(:multiply, 2))
# ArgumentError :(

Coding Rails with Homebrew

Right now, this assumes you are using Snow Leopard.

Install Homebrew

Homebrew is MacPorts (or APT) without the suck. http://github.com/mxcl/homebrew