README.md in satoshi-unit-0.1.0 vs README.md in satoshi-unit-0.1.1
- old
+ new
@@ -3,9 +3,15 @@
This tiny gem allows you to make easy conversions from one Bitcoin denomination into another.
It provides a class, which objects would essentially represent an amount of bitcoins measured
in the smallest possible denomination, which is Satoshi. You can then call methods on these objects
to convert it various other denominations.
+### Installation
+
+ gem install satoshi-unit
+
+### Usage
+
Here's how it might look:
s = Satoshi.new(1) # By default, it accepts amounts in BTC denomination
s.to_i # => 100000000 (in Satoshis)
s.to_mbtc # => 1000.0