Druzy::Utils
Some utils I use
Installation
Add this line to your application's Gemfile:
gem 'druzy-utils'
And then execute:
$ bundle
Or install it yourself as:
$ gem install druzy-utils
Or for ubuntu run:
$ sudo add-apt-repository ppa:druzy_druzy/rubymita
$ sudo apt-get update
$ sudo apt-get install ruby-druzy-upnp
Usage
require druzy/utils/net
puts Druzy::Utils.get_local_public_ipv4
Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/druzy/ruby-druzy-utils.
License
The gem is available as open source under the terms of the MIT License.