Adding support for using wildcards in ruby api. Fixes #11.