Skip to content

Instantly share code, notes, and snippets.

Created July 7, 2013 15:30
Show Gist options
  • Save anonymous/b78d0ad97ad9992588f6 to your computer and use it in GitHub Desktop.
Save anonymous/b78d0ad97ad9992588f6 to your computer and use it in GitHub Desktop.
def initialize(h)
h.each {|k,v| send("#{k}=",v)}
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment