valuta 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/lib/valuta.rb +2 -0
- data/lib/valuta/version.rb +1 -1
- data/test/valuta_test.rb +5 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cce9786111f68a473c396a7f295eb1e19644c8a9
|
4
|
+
data.tar.gz: 9d6ecab478ceb6246d277da815d5bc069534bf68
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5c89d23a3a491c8c49aeb944576ae5be963730b88efa181f8d9a45ea7c3943f1d5c7222acc00ac3a2f83c89219902b62e599d5d36564a25a2f18c68b63d4dfd3
|
7
|
+
data.tar.gz: c2ee3a99206716c9aab1a80091614b766e1fe74cb0675494551abec9d4743a828467fcaaabba5de075ce05c50439dd17c434963570c42529e9667d2b915f5472
|
data/README.md
CHANGED
@@ -11,8 +11,8 @@ require "valuta"
|
|
11
11
|
Valuta.convert(1458) # => 1,458
|
12
12
|
Valuta.convert(1458.65) # => 1,458.65
|
13
13
|
Valuta.convert("1458.65") # => 1,458.65
|
14
|
-
Valuta.convert(1458, prefix: "$") # => $
|
15
|
-
Valuta.convert(1458, suffix: " NOK") # =>
|
14
|
+
Valuta.convert(1458, prefix: "$") # => $1,458
|
15
|
+
Valuta.convert(1458, suffix: " NOK") # => 1,458 NOK
|
16
16
|
|
17
17
|
Valuta.convert(100458.65, delimiter: ".", separator: ",")
|
18
18
|
# => 100.458,65
|
data/lib/valuta.rb
CHANGED
data/lib/valuta/version.rb
CHANGED
data/test/valuta_test.rb
CHANGED