# File lib/weights_and_max_depths.rb, line 246 def value val = @rule_method.depth.to_f / @max_depth Utils::map(@range, val, @function) end