Created
September 27, 2015 03:55
-
-
Save jeffAwesome/e2232b25c3a61c1b2bc1 to your computer and use it in GitHub Desktop.
Hello World in ruby
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
module HelloWorld | |
def self.hello | |
puts 'Hello World' | |
end | |
end | |
require "./helloWorld" | |
helloWorld.hello() | |
# or | |
helloWorld.hello |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment