Memory Conversion
Quick and easy conversion between memory values.
Installation
-
Add the dependency to your
shard.yml
:dependencies: memory_conversion: github: dscottboggs/memory_conversion
-
Run
shards install
Usage
require "memory_conversion"
1.terabyte.to_kilobits # => 8589934592.0
Please see the documentation, and the spec file for a few examples.
Contributing
- Fork it (https://github.com/dscottboggs/memory_conversion/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 a new Pull Request
Contributors
- Scott Boggs - creator and maintainer