method

query_hash

Importance_1
v7.0.0 - Show latest stable - 0 notes - Class: ConnectionUrlResolver
query_hash() private

Converts the query parameters of the URI into a hash.

"localhost?pool=5&reaping_frequency=2"
# => { pool: "5", reaping_frequency: "2" }

returns empty hash if no query present.

"localhost"
# => {}
Show source
Register or log in to add new notes.