sloubi 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/sloubi.rb +6 -4
- 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: 95ad99389bfcc6758509c7951329d4c7b4ac1497
|
4
|
+
data.tar.gz: 34fa6059ea0c797544ee46881d8b78cf99fc2e67
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d251a4137c1fb84143bcb96c2c299ef667aad5f5d4878ddaec3db2edc68ba653873f4b5d8805cbaa63e1270f5c3533495d210c2f9c84ce5db99ac17644392f50
|
7
|
+
data.tar.gz: 2badec9aa243954c06a5feb2eddd4e0ac06091757ae2b534e8cc67a1068248b958dc3d8ab8a7591e84c2abab4ff55468ddd665aabe70c4a7580809fe8d8c3b80
|
data/lib/sloubi.rb
CHANGED
@@ -1,10 +1,12 @@
|
|
1
1
|
#encoding: utf-8
|
2
2
|
|
3
3
|
module Sloubi
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
4
|
+
class Sloubi
|
5
|
+
def self.count_sloubi n=42
|
6
|
+
return false if !n.is_a?Integer or n < 1
|
7
|
+
(1..n).each do |i|
|
8
|
+
puts "Sloubi #{i}"
|
9
|
+
end
|
8
10
|
end
|
9
11
|
end
|
10
12
|
end
|