Javascript-styled prototypal programming in Ruby