Module: Paf::Premises

Includes:
Common
Defined in:
lib/paf/premises.rb,
lib/paf/premises/common.rb,
lib/paf/premises/rule000.rb,
lib/paf/premises/rule001.rb,
lib/paf/premises/rule010.rb,
lib/paf/premises/rule011.rb,
lib/paf/premises/rule101.rb,
lib/paf/premises/rule110.rb,
lib/paf/premises/rule111.rb

Overview

Determine which premises rule is applicable

Defined Under Namespace

Modules: Common, Rule000, Rule001, Rule010, Rule011, Rule101, Rule110, Rule111

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.extended(base) ⇒ Object



8
9
10
# File 'lib/paf/premises.rb', line 8

def self.extended(base)
  base.extend_premises_rule
end

Instance Method Details

#extend_premises_ruleObject



12
13
14
15
# File 'lib/paf/premises.rb', line 12

def extend_premises_rule
  require premises_rule_filename
  extend premises_rule_module
end