Development foundations in Ruby
- Ubuntu 18.04
- Vagrant: ubuntu/bionic64
- ruby
- irb - interactive ruby shell
vagrant@ubuntu-bionic:~$ irb
irb(main):001:0> puts 'Hello World'
Hello World
=> nil
irb(main):002:0> exit
vagrant@ubuntu-bionic:~$
Use de following command to run the code:
vagrant@ubuntu-bionic:~$ ruby filename.rb
vagrant@ubuntu-bionic:~$ ruby 00-variables.rb
30
John
1.75
New York
vagrant@ubuntu-bionic:~$
Ronald Rivero