Joined September 2012
·

Tony612

A student diving into ruby, rails and focusing on web development
·
GuangZhou
·
·
·

Thanks for IronMan.prototype.constructor = IronMan; // fixing prototype pointer., which helps me a lot :)

@richoh thank you again. I just updated it. Is there something wrong?

@richoh It's ok now?

@richoh I think I have known what your meaning is. I forget to mention the different between them. Thank your very much. I'll fix it ~

@richoh . I don't want to mislead people. I just read the Loops part in the book <Programming Ruby>(1.9,3rd) at Page 162. It said that the only built-in Ruby looping primitives were while and until, foris almost a lump of syntactic sugar. And you can use for loop only if your class define a each method

Achievements
227 Karma
7,653 Total ProTip Views