Tag
Your search for struct returned 2 results.
Struct to hold url attributes you care about
Parsing urls can be quite annoying. Ruby's URI#parse and CGI#parse do a lot of the heavy lifting, they often don't give you exactly what you want in a convenient format. (more…)
How to convert a Ruby struct to a hash
Use inject! (more…)