Module: BallotBox::Voting

Included in:
Vote
Defined in:
lib/ballot_box/voting.rb

Defined Under Namespace

Modules: ClassMethods, InstanceMethods

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



7
8
9
10
# File 'lib/ballot_box/voting.rb', line 7

def self.included(base)
  base.send :include, InstanceMethods
  base.send :extend,  ClassMethods
end