Classes and Methods
Classes begin with
class
and end with
end
:
# The Greeter class
class
Greeter
end
Methods begin with
def
and end with
end
:
# The salute method
def
salute
end