Switching to WebView using RubyGems (hybrid testing)

I’m using rubygems to test an hybrid android app and I’m not getting the syntax correct. Can someone point me to documentation on how to do this? I’ve tried set_context “WebView” but that fails. So how do I switch to WebView.

Thanks.