Saturday, April 28, 2007

A handy hash method

I am testing posting code :)


class Hash
def except(*arr)
hsh = self.dup
arr.each do |k|
hsh.delete(k)
end
hsh
end
end

Welcome to gRoR!

We will be discussing Ruby programming using the RubyOnRails web framework and other tools. I don't know yet if blogger will work well for this or not. Let me know if you have any issues.