Ruby - Programming Language
This course covers the basics of programming in Ruby. Work your way through the videos and we'll teach you everything you need to know to start your programming journey!

Data Types

Lesson 7
Author : Mike Dane
Last Updated : November, 2017


Code

Copyname = "Mike"     # Strings
age = 30          # Integer
gpa = 3.5         # Decimal
is_tall = true    # Boolean -> true/false

name = "John"

puts "Your name is #{name}"
puts "Your name is " + name