Module: ScoringRules

Defined in:
lib/scoring_rules.rb,
lib/scoring_rules/version.rb

Defined Under Namespace

Modules: ClassMethods, InstanceMethods

Constant Summary collapse

VERSION =
"0.0.1"

Class Method Summary collapse

Class Method Details

.included(receiver) ⇒ Object



21
22
23
24
25
26
# File 'lib/scoring_rules.rb', line 21

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

  receiver.meta_eval { attr_accessor :ruleset }
end