Skip to content

Instantly share code, notes, and snippets.

@jefflab
Created December 29, 2011 04:33
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 jefflab/1531910 to your computer and use it in GitHub Desktop.
Save jefflab/1531910 to your computer and use it in GitHub Desktop.
# Usage:
#
# ruby main.rb
$LOAD_PATH.unshift(File.expand_path(File.dirname(__FILE__))) unless $LOAD_PATH.include?(File.expand_path(File.dirname(__FILE__)))
require 'my_module'
include MyModule
hello
module MyModule
def hello
puts "hi Jerm"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment