Skip to content

Instantly share code, notes, and snippets.

@Nimster
Created August 6, 2011 06:37
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 Nimster/1129084 to your computer and use it in GitHub Desktop.
Save Nimster/1129084 to your computer and use it in GitHub Desktop.
Rails lookup v1 - Rails macro setup
module Lookup
module ClassMethods
#Any new "macros" go here
def lookup(lookup_name)
end
end
def self.included(host_class)
host_class.extend(ClassMethods)
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment