lerolero 8.3.7 → 8.7.1
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/README.md +2 -1
- data/lib/lerolero.rb +0 -7
- 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: acca249f0f3852aadd17ca4804caf2410767b337
|
4
|
+
data.tar.gz: 9542b5cbbae8302ee2044de7f386d785f1e2e8c9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2773db0b1c443718e5b5e3e95435e75cd631e469a47ad53005bad31e8a10ca6cca9f63a67da117a253ab7de8c1851406a1dd66ee1e44f4413229409a9194deb0
|
7
|
+
data.tar.gz: db00025af6fcada2f43ac71d0857a3cbe0c2ce90466919d150cfbf9cac5d42b60c272af6016d1e08bad0b47b5fe664d9dc17221368cebd2231a46c488812c9fb
|
data/README.md
CHANGED
@@ -18,11 +18,12 @@
|
|
18
18
|
3. Usage inside in your ruby code:
|
19
19
|
|
20
20
|
$ puts Lerolero.sentence
|
21
|
+
$ puts Lerolero.sentence(3)
|
21
22
|
|
22
23
|
A glamorous and smart totally random phrase will be generated.
|
23
24
|
Output example:
|
24
25
|
|
25
|
-
|
26
|
+
$ What we always have to keep in mind is that the clear determination of goals plays an essential role in the formulation of the rules of normative conduct.
|
26
27
|
|
27
28
|
## Contributing
|
28
29
|
|
data/lib/lerolero.rb
CHANGED
@@ -1,11 +1,4 @@
|
|
1
1
|
class Lerolero
|
2
|
-
@count=0
|
3
|
-
def initialize
|
4
|
-
trace=TracePoint.trace(:call) do |t|
|
5
|
-
@count += 1 if t.method_id == "produzirfraselerolero"
|
6
|
-
end
|
7
|
-
trace.enable
|
8
|
-
end
|
9
2
|
# Usage:Lerolero.produzirfraselerolero
|
10
3
|
# @param long_mailer_id truthy if the mailer ID is long (9 digits).
|
11
4
|
# @raise ArgumentError if invalid
|