def interpret_value(value)
      case value
      when Array then value.rand
      when Range then value_in_range(value)
      else value
      end
    end
def interpret_value(value)
      case value
      when Array then value.rand
      when Range then value_in_range(value)
      else value
      end
    end
If an array or range is passed, a random value will be selected to match.
 All other values are simply returned.