Last active
March 4, 2018 00:48
-
-
Save maxdignan/567f6be3c3a4ac9cefca05ef71cf0ef3 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 YourFirstClass | |
def initialize(word, num_a, num_b, num_c) | |
@word = word | |
@num_a = num_a | |
@num_b = num_b | |
@num_c = num_c | |
end | |
def hello(name) | |
"Hello #{name}" | |
end | |
def self.helloFromClass | |
"Hello from class #{self}" | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment