fork(4) download
  1. name1 = String.new('egoing')
  2. name2 = String.new('k8805')
  3. puts(name1.reverse())
  4. puts(name2.reverse())
  5. puts(name1.upcase())
  6. puts(name1.size())
  7. names = Array.new()
  8. names.push('egoing')
  9. names.push('k8805')
  10. puts(names)
  11. puts(names.join(','))
  12.  
Success #stdin #stdout 0.02s 7412KB
stdin
Standard input is empty
stdout
gnioge
5088k
EGOING
6
egoing
k8805
egoing,k8805