lerolero 5.0.1 → 5.0.2
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/lerolero.rb +34 -19
- 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: cbe5efba3f128659851d8932346aaece6de5f3df
|
4
|
+
data.tar.gz: 3fb53a49d6bc17b41af5b44b3a25491b1c21b007
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: baffa53e9187880a8c57ce7d3469f1c7808daa3bb8e759ebb970fedbd9f1aa25524253aca0fcdee5c852732b08f106f200f1fa1b8a96eb7c87ea94bdb1d5784b
|
7
|
+
data.tar.gz: 9e0a2c0c2ec25b8d6dd852221000f378c6318928c39fbe38d82f22b2b5fcdfef17eb0ca72f3c0e95d0d15dc8cfc36b9421fb63ff0de6c4beccb8b3a01a9a9d0e
|
data/lib/lerolero.rb
CHANGED
@@ -1,23 +1,38 @@
|
|
1
|
-
#
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
1
|
+
# This is an example method commented the way I like.
|
2
|
+
# It sums the three arguments and returns that value.
|
3
|
+
#
|
4
|
+
# Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed
|
5
|
+
# do eiusmod tempor incididunt ut labore et dolore magna aliqua.
|
6
|
+
# Ut enim ad minim veniam, quis nostrud exercitation ullamco
|
7
|
+
# laboris nisi ut aliquip ex ea commodo consequat.
|
8
|
+
#
|
9
|
+
# * *Args* :
|
10
|
+
# - +apples+ -> the number of apples
|
11
|
+
# - +oranges+ -> the number of oranges
|
12
|
+
# - +pears+ -> the number of pears
|
13
|
+
# * *Returns* :
|
14
|
+
# - the total number of fruit as an integer
|
15
|
+
# * *Raises* :
|
16
|
+
# - +ArgumentError+ -> if any value is nil or negative
|
17
|
+
#
|
12
18
|
class Lerolero
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
19
|
+
# This is an example method commented the way I like.
|
20
|
+
# It sums the three arguments and returns that value.
|
21
|
+
#
|
22
|
+
# Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed
|
23
|
+
# do eiusmod tempor incididunt ut labore et dolore magna aliqua.
|
24
|
+
# Ut enim ad minim veniam, quis nostrud exercitation ullamco
|
25
|
+
# laboris nisi ut aliquip ex ea commodo consequat.
|
26
|
+
#
|
27
|
+
# * *Args* :
|
28
|
+
# - +apples+ -> the number of apples
|
29
|
+
# - +oranges+ -> the number of oranges
|
30
|
+
# - +pears+ -> the number of pears
|
31
|
+
# * *Returns* :
|
32
|
+
# - the total number of fruit as an integer
|
33
|
+
# * *Raises* :
|
34
|
+
# - +ArgumentError+ -> if any value is nil or negative
|
35
|
+
#
|
21
36
|
def self.produzirfraselerolero
|
22
37
|
myarray=[
|
23
38
|
"Caros amigos, ",
|