Last active
August 29, 2015 14:09
-
-
Save salkar/c0bf808730f38109c238 to your computer and use it in GitHub Desktop.
Concern sample
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 ConcernName | |
extend ActiveSupport::Concern | |
included do | |
# Object methods go here | |
end | |
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