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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2037e3efa153ae05fa9393d794b5fee0c263c5c8
4
- data.tar.gz: c5c2d4667409d287155acd891cc6a2c2a1f8848f
3
+ metadata.gz: ad05f66b107ff865594720d815abd414455cda01
4
+ data.tar.gz: d5f6ada53179892c572163881ba1058fbc2834a9
5
5
  SHA512:
6
- metadata.gz: 80dd3ed301d7c23c1a6a36fd24b5d7f4534d988a26c3e82720be10f6e124bf67ad03d214ab22f96b3e070c873bf218d3fe3a0f4a80610e30533cdb1f2bfaea80
7
- data.tar.gz: cc82c064de31eb5bd67d65d5e6e9446e7b280bfc2d596d4e8e9f919640459a437e96ce01d4273b4a26e21e0a326a54188b6846f5168fcd6d867644eece4fa5e6
6
+ metadata.gz: 2cd266bbda4f353213d5b55988350eddf1a2273712447ea102df935e85499a38627946b4e03145275fefac05e24986bfd1c350255fda8b7bdaa81d9ab956ed15
7
+ data.tar.gz: 5e391aa63f19f0ba353d17e8953b4602365e6a13d6227c077232a2057c36b85ab986e7ecde9ecca92452caeebb38263947745b4a52e6e976453d19a20dab5ff1
@@ -1,3 +1,3 @@
1
1
  module Squirreler
2
- VERSION = "0.0.1"
2
+ VERSION = "1.0.1"
3
3
  end
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: Squirreler
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Elliott Young