Tag Archives: Ruby

Ruby

Shows the Ruby version installed in the system: ruby -v Ruby files uses extension rb. To run a rb file: ruby file.rb Comments #This is a comment puts “printing text” #just an example =begin multiple line comment =end Operations with strings a = “string 1″ b = ‘string 2’ # between ”, variables will be… Read More »