qo icon indicating copy to clipboard operation
qo copied to clipboard

Qo - Query Object - Pattern matching and fluent querying in Ruby

Results 6 qo issues
Sort by recently updated
recently updated
newest added

Hi, @baweaver I really want #26 to be merged

Adds the idea of an exhaustive match to the API that will fail if a match has not been found as a response to #25

```ruby HTTP_Matcher = Qo.create_pattern_match(branches: [ Qo.create_branch(name: 'success', precondition: Net::HTTPSuccess), Qo.create_branch(name: 'error', precondition: Net::HTTPError), Qo::Braches::ElseBranch ]) ``` actually you don't have to include else branch to branches, since it's already included...

It's currently possible to check that a Hash contains a given key and that the key's value matches a desired value. However, checking for the presence of a key without...

What's the Qo-ish way to affect something similar to backreferences? For example, match a Hash where the value of the `:foo` key matches the value of the `:bar` key. ```ruby...

Need to work on sourcing a few more practical examples to show what usage of Qo would look like in the wild. This should also consider the performance implications of...

enhancement
help wanted