What is Ruby?
Part of the Fundamentals section of Coddy's Ruby journey — lesson 1 of 88.
Ruby is a dynamic, object-oriented programming language designed for simplicity and productivity. Created by Yukihiro Matsumoto in the mid-1990s, Ruby emphasizes elegant syntax that is natural to read and easy to write, making it a favorite among developers for web development, automation, and scripting.
Challenge
EasyPress the run code button to run your first code in Ruby
Cheat sheet
Ruby is a dynamic, object-oriented programming language with elegant syntax designed for simplicity and productivity.
To output text in Ruby, use puts:
puts "Hello World!"Try it yourself
puts "Welcome to Ruby programming!"All lessons in Fundamentals
4Operators Part 2
Logical Operators Part 1Logical Operators Part 2Recap - Simple LogicLogical Operators Part 3Logical Operators Part 42Variables and Data Types
Numbers and VariablesString Data TypeBoolean Data TypeSymbol Data TypeChecking Data TypesNaming ConventionsRecap - Variable Creation8Loops
For Loop with RangesWhile LoopBreakNextRecap - FactorialTimes LoopUntil LoopNested LoopsRecap - Dynamic Input3Operators Part 1
Arithmetic OperatorsModulo OperatorArithmetic ShortcutsRecap - Simple MathComparison Operators6Basic IO
Output with putsOutput with print and pOutput With VariablesInput with getsChomp MethodType ConversionRecap - Age CalculatorRecap - True or False