lib/pokemon_info_finder/cli.rb
#gets list of pokemon of the chosen type 
gets list of pokemon of the chosen type
gets list of pokemon of the chosen type
def pokemon_of_x_type(type)
        pokemon_by_type = PokemonInfoFinder::Pokemon.find_by_type(type)
        puts ""
        puts "   Kanto's #{type.capitalize} type Pokemon"
        puts "---------------------------------"
        pokemon_by_type.each { |n| puts "           #{n}" }
        puts "---------------------------------"
        puts ""
        names
    end
def pokemon_of_x_type ( type ) pokemon_by_type = PokemonInfoFinder :: Pokemon . find_by_type ( type ) puts "" puts "   Kanto's #{type.capitalize} type Pokemon" puts "---------------------------------" pokemon_by_type . each { | n | puts "           #{n}" } puts "---------------------------------" puts "" names end
gets list of pokemon of the chosen type
gets list of pokemon of the chosen type
#gets list of pokemon of that type #shows list of x type pokemon #moves user to names to ask about specific pokemon
type