Skip to content

Latest commit

 

History

History
20 lines (18 loc) · 420 Bytes

File metadata and controls

20 lines (18 loc) · 420 Bytes

ruby

Interpreted language.

run in a browser

Install

If you are running a Linux or Unix distro it will be in the standard repos

  • Ubuntu / Debian sudo apt-get install ruby -y
  • Redhat sudo yum install ruby -y
# source in fn.rb
# run
ruby fn.rb 
# &/or if interp designator used:  #!/usr/bin/ruby
./fn.rb 

Reference(s)

Learning