fork download
  1. s = "11 22 44
  2. -42 33 "
  3. p items = s.split.map(&:to_i)
Success #stdin #stdout 0.01s 7996KB
stdin
Standard input is empty
stdout
[11, 22, 44, -42, 33]