Class: ClubHopper

Inherits:
Object
  • Object
show all
Defined in:
lib/club_hopper/cli.rb

Defined Under Namespace

Classes: Cielo, Output

Instance Method Summary collapse

Instance Method Details

#callObject



3
4
5
6
7
8
9
# File 'lib/club_hopper/cli.rb', line 3

def call
  start
  venue  
  what_venue
  menu
  goodbye  
end

#startObject



11
12
13
# File 'lib/club_hopper/cli.rb', line 11

def start
  puts "The weekend is finally upon us!!"
end

#venueObject



18
19
20
21
22
23
24
25
# File 'lib/club_hopper/cli.rb', line 18

def venue
  puts "So you're lookin' to go out, huh... what club?"
  puts "----------------------------------------"
  puts <<-DOC 
  1. Output - Brooklyn
  2. Cielo - Manhattan
  DOC
end

#what_venueObject



27
28
29
30
31
32
33
34
35
36
37
# File 'lib/club_hopper/cli.rb', line 27

def what_venue
input = nil
input = gets.strip.downcase
 if  input == "1" 
   puts "Ah...Output in Brooklyn huh, excellent!"
   what_day_output
 elsif input == "2"
   puts "Ah...Cielo in Manhattan huh, excellent!"
   what_day_cielo
 end
end