lib_FARGO/fargo_fitness_daily/cli.rb
# def menu
#  eventually would like to print by category, location, time
# end
def menu
eventually would like to print by category, location, time
end
def menu eventually would like to print by category location time end
def list_classes
    puts "Today's fitness classes in Fargo:"
    @classes = FargoFitnessDaily::FitnessClass.all
    @classes.each.with_index(1) do |fitclass, i|
      puts "#{i}. #{fitclass.name} - #{fitclass.location} - #{fitclass.instructor} - #{fitclass.time}"
    end
  end
def list_classes puts "Today's fitness classes in Fargo:" @classes = FargoFitnessDaily :: FitnessClass . all @classes . each . with_index ( 1 ) do | fitclass , i | puts "#{i}. #{fitclass.name} - #{fitclass.location} - #{fitclass.instructor} - #{fitclass.time}" end end
def menu
eventually would like to print by category, location, time
end
def menu eventually would like to print by category location time end
#get classes from sites # would like to print with location first, then list all classes at location to avoid redundancy