G
Gergely Kontra
Hi!
To the nil war:
Then what is the reason nil.to_i and friends exists?
Will it hide bugs?
I'm using 1.8, there nil.to_i exists,but
a=nil
b=2
b+a # nil cannot be coerced into Fixnum
So where to use nil.to_i?
ps: and how can I correctly reply to a message, if I don't get mails,
but read the mails from the archive?
Another question of mine: where can I read docs about ruby1.9/ruby2.0?
Shall I DL a snapshot and try it myself, or is there a good doc
somewhere?
thx
Gergo
To the nil war:
Then what is the reason nil.to_i and friends exists?
Will it hide bugs?
I'm using 1.8, there nil.to_i exists,but
a=nil
b=2
b+a # nil cannot be coerced into Fixnum
So where to use nil.to_i?
ps: and how can I correctly reply to a message, if I don't get mails,
but read the mails from the archive?
Another question of mine: where can I read docs about ruby1.9/ruby2.0?
Shall I DL a snapshot and try it myself, or is there a good doc
somewhere?
thx
Gergo