Interpreted High-level Object-Oriented Just-in-time compilation Garbage collection
The idea was to create an object-oriented scripting language
You use periods to take properties
Begin with a colon
Use << to add to the end of an array
Defined using curly brackets
key and value
Use curly braces and pipes
.select
Class names must start with a capital letter
class Classname end
To create an element of the class
example = Classname.new
Inside your class you can set up a function
def initialize(data1var, data2var, …) @data1 = data1var @data2 = data2var
These are attaching a suffix with a dot
word.length
Use @
Examples:
.each iterates
#{} is used to insert variables in strings
"Hi I'm #{name}"
No colons used
if else end