News for hackers. Stuff that matters.
Re:Ruby 3.4, No More TypeError with **Nil as It Is Treated a... by karmakaze on Monday May 13, 2024 @07:21PM (#40349732)
Seems roughly appropriate (thinking in zero-values):

  nil.to_i => 0
  nil.to_s => ""
  nil.to_a => []
  nil.to_h => {}
  nil.to_set # error; nil.to_a.to_set => #<Set: {}>

There are no comments on this comment yet.