Module: VoteableFerSept

Defined in:
lib/voteable_fer_sept.rb

Defined Under Namespace

Modules: ClassMethods, InstanceMethods

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



2
3
4
5
6
7
8
# File 'lib/voteable_fer_sept.rb', line 2

def self.included(base)
  base.send(:include, InstanceMethods)
  base.extend ClassMethods
  base.class_eval do
    my_class_method     # fires up when this class (Voteable) loads
  end
end