Armoredcode Miscellaneous utilities
This is just a set of miscellaneous utilities I wrote to speed up some annoying tasks for security tools (and not) I'm writing.
API
Just start requiring the gem
require 'armoredcode-misc'
And the following APIs will be available:
- Fixnum.duration: it prints out in a human readable way a numeric value understood as time duration interval
- String.starts_with?(pattern): it says if a string it is starting with a given pattern
Installation
Add this line to your application's Gemfile:
gem 'armoredcode-misc'
And then execute:
$ bundle
Or install it yourself as:
$ gem install armoredcode-misc
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Added some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request