Squirreler 0.0.1 → 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/Squirreler/version.rb +1 -1
- data/lib/Squirreler.rb +15 -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: ad05f66b107ff865594720d815abd414455cda01
|
4
|
+
data.tar.gz: d5f6ada53179892c572163881ba1058fbc2834a9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2cd266bbda4f353213d5b55988350eddf1a2273712447ea102df935e85499a38627946b4e03145275fefac05e24986bfd1c350255fda8b7bdaa81d9ab956ed15
|
7
|
+
data.tar.gz: 5e391aa63f19f0ba353d17e8953b4602365e6a13d6227c077232a2057c36b85ab986e7ecde9ecca92452caeebb38263947745b4a52e6e976453d19a20dab5ff1
|
data/lib/Squirreler/version.rb
CHANGED
data/lib/Squirreler.rb
CHANGED
@@ -37,4 +37,19 @@ module Squirreler
|
|
37
37
|
puts "____________________¶¶¶¶¶¶¶___¶¶¶¶¶¶¶"
|
38
38
|
puts "———————————————————————————————————————————————————"
|
39
39
|
end
|
40
|
+
|
41
|
+
def self.spam_squirrels(num)
|
42
|
+
num.times do |_|
|
43
|
+
print_squirrel
|
44
|
+
sleep(0.1)
|
45
|
+
clear_screen
|
46
|
+
end
|
47
|
+
end
|
48
|
+
|
49
|
+
private
|
50
|
+
|
51
|
+
def clear_screen
|
52
|
+
print "\e[2J"
|
53
|
+
print "\e[H"
|
54
|
+
end
|
40
55
|
end
|