Module: Amy
- Defined in:
- lib/amyf.rb
Overview
Stops to smells the roses
Class Method Summary collapse
- .cat_art ⇒ Object
-
.meditate ⇒ Object
Meditate.
Class Method Details
.cat_art ⇒ Object
31 32 33 34 35 36 37 38 39 |
# File 'lib/amyf.rb', line 31 def self.cat_art " -----------------------\n /\\\\_/\\\\\n ( o.o ) dance\n > ^ < break ?\n -----------------------\n CAT\nend\n" |
.meditate ⇒ Object
Meditate. Medicate. Meditate.
-
IDLES
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 |
# File 'lib/amyf.rb', line 13 def self.meditate = {} OptionParser.new do |opts| opts. = cat_art opts.on('--battleship', 'Laptop setup') { |o| [:battleship] = o } opts.on('-r', '--roadrunner URLS', 'Comma-separated list of GitHub repository URLs') do |github_urls| [:github_urls] = github_urls.split(',') end opts.on('-h', '--help', 'I need somebody (not just anybody)') do puts opts exit end end.parse! Battlestation.new.setup if [:battleship] == true RoadRunner.new([:github_urls]).run if [:github_urls] end |