Created
October 1, 2014 16:19
-
-
Save octocat/6cad326836d38bd3a7ae to your computer and use it in GitHub Desktop.
Hello world!
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 HelloWorld | |
def initialize(name) | |
@name = name.capitalize | |
end | |
def sayHi | |
puts "Hello #{@name}!" | |
end | |
end | |
hello = HelloWorld.new("World") | |
hello.sayHi |
kromunum
commented
Dec 22, 2023
via email
您好!已收到您的来信~
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment