+ 1
using cmd for ruby
How do you start a new line in cmd when using ruby? for example, i wanted to say hello world and next line to have a number problem. puts 'hello world!' 1 + 2 output: hello world ! 3 but instead i get an error. or it does not display the number
1 Odpowiedź
+ 7
Sebastien Pham are you printing the number too like that
puts "hello world! "
puts 1+1
and what error are you facing can you please describe more about that