Ruby Basics

Assignment binds a value to a name. String interpolation inserts an expression inside double-quoted text. puts writes a line.

Ruby
name = "Ada"
puts "Hello, #{name}"
Read the full lesson