What's the effect in Ruby when you initialize with nil: x = String(nil)
- by nickl
What's the effect in Ruby when you pass nil to the constructor as in:
s = String(nil)
or
a = Array(nil)
Does this mean that s or a is nil or that s or a is an unpopulated object of type String or type Array?