/ruby

Development foundations in Ruby

Primary LanguageRubyApache License 2.0Apache-2.0

ruby

Development foundations in Ruby

Environment

  • Ubuntu 18.04
  • Vagrant: ubuntu/bionic64
  • ruby
  • irb - interactive ruby shell

Ruby

Run the code

** 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:~$

interpreter

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:~$

Autor

Ronald Rivero

Connect

Twitter Linkedin Github Vagrant Docker