money_to_text 0.0.2 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/money_to_text.rb +0 -6
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6beafd74dca32c4637c5db7e75220a3e0f6320d5437e8467562d1f203e62ce61
|
|
4
|
+
data.tar.gz: 35e1a97fbeef2d65ba739c525904f8692f9e26d6ff63e2f74379191f66f5dffe
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2a8e344d53d14b997052e6869b28defa359fda13b15b22483b1ff0691cb0724a5ba4cc60e7904bee6dfe14f05684520938c52f1b14df61c2d6ba58f1d653b42a
|
|
7
|
+
data.tar.gz: 1c291fb665d861933fb8cfef441bf8d2c2f69a77ab8d4ab0e66d33879d7091b2a23f837cc70ae79510c5393307ab8cf21d557fed9324c0720ffc409c7290f70d
|
data/lib/money_to_text.rb
CHANGED
|
@@ -9,10 +9,6 @@ class MoneyToText
|
|
|
9
9
|
triMiles = ((parteEntera / 1000) % 1000)
|
|
10
10
|
triMillones = ((parteEntera / 1000000) % 1000)
|
|
11
11
|
triMilMillones = ((parteEntera / 1000000000) % 1000)
|
|
12
|
-
puts triUnidades
|
|
13
|
-
puts triMiles
|
|
14
|
-
puts triMillones
|
|
15
|
-
puts triMilMillones
|
|
16
12
|
|
|
17
13
|
response = ""
|
|
18
14
|
return "Cero" if parteEntera == 0
|
|
@@ -132,6 +128,4 @@ class MoneyToText
|
|
|
132
128
|
end
|
|
133
129
|
return response
|
|
134
130
|
end
|
|
135
|
-
|
|
136
|
-
puts get_text()
|
|
137
131
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: money_to_text
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Dario Paez
|
|
@@ -42,5 +42,5 @@ requirements: []
|
|
|
42
42
|
rubygems_version: 3.0.3
|
|
43
43
|
signing_key:
|
|
44
44
|
specification_version: 4
|
|
45
|
-
summary: Pase valores numericos a letras
|
|
45
|
+
summary: Pase valores numericos a su equivalente en letras
|
|
46
46
|
test_files: []
|