Opal URI
It's like Ruby URI
, but smaller. It provides minimal URI support that is absent from Opal.
Installation
Add this line to your application's Gemfile:
gem 'opal-uri'
And then execute:
$ bundle
Or install it yourself as:
$ gem install bowser
Usage
Inside your Opal app:
require 'uri'
uri = URI.parse("http://opalrb.com")
uri.scheme #=> "http"
uri.host #=> "opalrb.com"
Contributing
This project is governed by a Code of Conduct
- Fork it
- Branch it
- Hack it
- Save it
- Commit it
- Push it
- Pull-request it