โ† Ruby Programming learning path
Ruby Programming ยท Module 1 of 10

Getting started with Ruby

Ruby is a friendly, object-oriented language designed for programmer happiness.

๐Ÿ“– Key ideas

  1. Ruby was created by Yukihiro "Matz" Matsumoto in Japan in 1995.
  2. Run code with ruby file.rb or try lines in irb, the interactive shell.
  3. puts prints a line; p prints a value for debugging.
  4. Comments start with #.
  5. Ruby powers Ruby on Rails, used by GitHub, Shopify and many startups.
๐Ÿ’ก Real-life example: Like a language written to read almost like English: 5.times { puts "Hi" } says exactly what it does.
irbInteractive Ruby shell
putsPrint a line of output
MatzCreator of Ruby
#Starts a comment