Untitled
public ruby v1 · immutable while row = result.fetch_hash do array = Array.new array << row["op"] array << row["value"] if (attributs.has_key?(row['attribute'])) attributs[row['attribute']] << array else attributs[row["attribute"]] = array end enddonne "Framed-Route"=>["+=", "10.130.0.3/32 0.0.0.0 1", ["+=", "10.130.1.3/32 0.0.0.0 5"]],