I know beautiful Ruby has an easier way to do this:


class SomeClass
	def initialize(someHash)
		@name = someHash['name']
		@address = someHash['address']
		@blah = someHash['blah']
		# etc for many key=>value pairs ...
	end
end


How can I make it do that for every key in the hash?