Add this line to your application's Gemfile:
gem 'rubytldmap'
And then execute:
$ bundle
Or install it yourself as:
$ gem install rubytldmap
Rubytldmap::Lookup.find_by_tld(:com)
Rubytldmap::Lookup.find_by_mark(20)
After checking out the repo, run bin/setup
to install dependencies. Then, run bin/console
for an interactive prompt that will allow you to experiment.
- Fork it ( https://github.com/linkosmos/rubytldmap/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add rubytldmap feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request