Skip to content

Instantly share code, notes, and snippets.

@jeffAwesome
Created September 27, 2015 03:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jeffAwesome/e2232b25c3a61c1b2bc1 to your computer and use it in GitHub Desktop.
Save jeffAwesome/e2232b25c3a61c1b2bc1 to your computer and use it in GitHub Desktop.
Hello World in ruby
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