method

parse_hash

parse_hash(name)
private

Runs through the argument array getting strings that contains “:” and mark it as a hash:

[ "name:string", "age:integer" ]

Becomes:

{ "name" => "string", "age" => "integer" }