lib/presidents/cli.rb
#gives Presidents module access to the methods of the CLI class
gives Presidents module access to the methods of the CLI class
gives Presidents module access to the methods of the CLI class
def print_president(president)
   puts "----------- #{president.name} -----------"    
   puts "#{president.vp}"                
   puts ""
   puts "Cabinet: #{president.cabinet}"        
   puts ""
   puts "Historical Documents: #{president.documents}" 
   puts ""
   puts "Notable Events: #{president.notable_events}"    
   puts "Points of Interest: #{president.points_of_interest}" 
   puts ""  
 end
def print_president ( president ) puts "----------- #{president.name} -----------" puts "#{president.vp}" puts "" puts "Cabinet: #{president.cabinet}" puts "" puts "Historical Documents: #{president.documents}" puts "" puts "Notable Events: #{president.notable_events}" puts "Points of Interest: #{president.points_of_interest}" puts "" end
gives Presidents module access to the methods of the CLI class
gives Presidents module access to the methods of the CLI class
president