fork download
  1. a = ["11", "-2", "4"]
  2. b = a.map(&:to_i)
  3.  
  4. p b
Success #stdin #stdout 0.01s 6436KB
stdin
Standard input is empty
stdout
[11, -2, 4]