-
-
Save mikecmpbll/1c079946c1ad184ec5b2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class MyClass # <-- this begins the definition of a class called MyClass | |
def my_method # <-- this begins the definition of a method called my_method on MyClass | |
puts("This will output this text") # <-- this is what the method does | |
end # <-- this ends the definition of the method | |
end # <-- this ends the definition of the class |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment