class ActionDispatch::Journey::Format

def evaluate(hash)

Experimental RBS support (using type sampling data from the type_fusion project).

def evaluate: (Hash hash) -> String

This signature was generated using 1 sample from 1 application.

def evaluate(hash)
  parts = @parts.dup
  @parameters.each do |index|
    param = parts[index]
    value = hash[param.name]
    return "" if value.nil?
    parts[index] = param.escape value
  end
  @children.each { |index| parts[index] = parts[index].evaluate(hash) }
  parts.join
end