Class: DRP::Weights::AbstractWeight
- Inherits:
-
Object
- Object
- DRP::Weights::AbstractWeight
- Defined in:
- lib/weights_and_max_depths.rb
Direct Known Subclasses
ProcWeightFromCurrentDepth, StaticWeight, WeightFromCurrentDepth
Class Method Summary collapse
Class Method Details
.factory(args_or_proc) ⇒ Object
77 78 79 80 81 |
# File 'lib/weights_and_max_depths.rb', line 77 def self.factory args_or_proc proc do |rule_method, drp_instance| self.new WeightArgs.new(args_or_proc, rule_method, drp_instance) end end |