D
D
DiaTMs2019-01-05 22:54:26
ruby
DiaTMs, 2019-01-05 22:54:26

How to execute puts "Hello World!" in the ruby ​​interpreter?

Is it possible to execute a simple command in the interpreter without RubyMine? Before that, I wrote in php js (

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
AVKor, 2019-01-06
@DiaTMs

For example, like this:
in the terminal.
Or in it, using a file with a script
Or make the script executable and use a shebang. Then just
./hello.rb

D
DiaTMs, 2019-01-05
@DiaTMs

5c310bf3a11c0054588316.jpeg

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question