Skip to content

ajjahn/opal-uri

Repository files navigation

Opal URI

It's like Ruby URI, but smaller. It provides minimal URI support that is absent from Opal.

Build Status

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

  1. Fork it
  2. Branch it
  3. Hack it
  4. Save it
  5. Commit it
  6. Push it
  7. Pull-request it

About

It's like Ruby URI, but smaller

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published