R
Rie!
i found that rake source has got this strange one line of code
private(true)
or something, true could be another code (I don't remember that rake
source code by heart). I'm not sure I can explain it clearly. Now I
just saw it again in time.rb file inside lib in ruby19 source code,
the code is like this
private :make_time
could anyone explain to me why this private takes an argument and what it does?
--
blog: http://tinyurl.com/2bjgvn,
ruby: http://www.ruby-lang.org/id/about
I always thought Smalltalk would beat Java, I just didn't know it
would be called 'Ruby' when it did. -- Kent Beck.
private(true)
or something, true could be another code (I don't remember that rake
source code by heart). I'm not sure I can explain it clearly. Now I
just saw it again in time.rb file inside lib in ruby19 source code,
the code is like this
private :make_time
could anyone explain to me why this private takes an argument and what it does?
--
blog: http://tinyurl.com/2bjgvn,
ruby: http://www.ruby-lang.org/id/about
I always thought Smalltalk would beat Java, I just didn't know it
would be called 'Ruby' when it did. -- Kent Beck.