class RoadForest::SourceRigor::Engine

Attributes

credence_policies[RW]
graph_transfer[RW]
investigation_limit[RW]
investigators[RW]

Public Class Methods

new() click to toggle source
# File lib/roadforest/source-rigor/engine.rb, line 24
def initialize
  @investigators = []
  @investigation_limit = 3
  @credence_policies = []
end

Public Instance Methods

investigator_list(*names) click to toggle source
# File lib/roadforest/source-rigor/engine.rb, line 38
def investigator_list(*names)
  self.investigators = names.map do |name|
    Investigator[name].new
  end
end
policy_list(*names) click to toggle source
# File lib/roadforest/source-rigor/engine.rb, line 32
def policy_list(*names)
  self.credence_policies = names.map do |name|
    Credence.policy(name)
  end
end