Print multiple ruby variables on the same line -
is there method print multiple ruby variables on same line? in example below:
env = gets() name = gets() puts "deleting #{name} in #{env}" i'm trying put variables in system (cmd) also, , can't set these 2 variables in same line... output :
deleting name in env thanks, vlad
use
env = gets().chomp name = gets().chomp
Comments
Post a Comment