Stype
String is string, but the content is different. Sometimes we need to distinguish them.
Installation
Add this line to your application's Gemfile:
gem 'stype'
And then execute:
$ bundle
Or install it yourself as:
$ gem install stype
Usage
According the content of the string, you can convert it to the specific object. ex: "http://www.example.com/projects".to_uri\ .host .path .port
Contributing
- Fork it ( http://github.com/
/stype/fork ) - Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request