Skip to content

Instantly share code, notes, and snippets.

@jperrine
Created November 1, 2011 01:15
Show Gist options
  • Save jperrine/1329577 to your computer and use it in GitHub Desktop.
Save jperrine/1329577 to your computer and use it in GitHub Desktop.
modules
module AdminUserMethods
def self.included(base)
base.extend(ClassMethods)
end
# instance methods go here
module ClassMethods
# class methods go here
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment