Module: Pocketrocket
- Defined in:
- lib/pocketrocket.rb,
lib/pocketrocket/version.rb
Overview
require ‘inline’
Constant Summary collapse
- VERSION =
"0.1.0"
Class Method Summary collapse
Class Method Details
.nasashamelaunch ⇒ Object
5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 |
# File 'lib/pocketrocket.rb', line 5 def self.nasashamelaunch rocket = " _\n\ /^\\\n\ |-|\n\ | |\n\ |Y|\n\ |A|\n\ |S|\n\ |H|\n\ /| |\\\n\ / | | \\\n\ " for i in 0..30 puts "\n"; end puts "#{rocket}"; j = 0.8 for i in 0..50 sleep(j); $j = j * 0.7; puts "\n"; end end |