hablaba 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/lib/hablaba.rb +1 -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: e1193c020edeedf413f59c4e99a61e5dc35e7a18
|
4
|
+
data.tar.gz: da70c6932300c4c59dc64ef289441397f3edbe3e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e99e4a3ab0a144bdd459339afef17b0f1ff87e9f536d31288607e331cca46ccf4822eba1e0a8746911a47e13bbef0df4698b7e8bea59a2611e0da3be56448a7a
|
7
|
+
data.tar.gz: cbfbde2324c5effa92906916279db7e14e937c19be0194bbd1e649ff21ab54bce71fde69dc509f9d7d0ac2d36f99f0844cc9b2e6eb14def58dc157647e33fa6e
|
data/lib/hablaba.rb
CHANGED
@@ -17,6 +17,7 @@ class Hablaba
|
|
17
17
|
# - optional, defaults to :present
|
18
18
|
# - options: :present, :preterite, :imperfect
|
19
19
|
def conjugate(pronoun, verb, tense = :present)
|
20
|
+
pronoun, verb = pronoun.downcase, verb.downcase
|
20
21
|
case tense
|
21
22
|
when :present
|
22
23
|
conjugate_in_the_present(pronoun, verb)
|