lib/controller.rb
# List jobs with numbers for reference
List jobs with numbers for reference
List jobs with numbers for reference
def list
    puts "\n\n#{Job.count} job postings found\n\n"
    Job.list.map do |job|
      puts "#{job.id}. #{job.firstline}"
    end
    puts menu
  end
def list puts "\n\n#{Job.count} job postings found\n\n" Job . list . map do | job | puts "#{job.id}. #{job.firstline}" end puts menu end
List jobs with numbers for reference
List jobs with numbers for reference