lib/pokemon_info_finder/cli.rb
def pokemon_more_info(name)
        #gets list of pokemon of that type
        pokemon_info = PokemonInfoFinder::Pokemon.get_extra_info(name)
        
        puts ""
        puts "  More information on #{name}"
        puts "------------------------------------"
        puts "#{name} is #{pokemon_info[0]} Pokedex"
        puts "#{name} is known as the #{pokemon_info[1]}"
        if pokemon_info[3] == ""
            puts "#{name} is a #{pokemon_info[2]} type pokemon"
        else
            puts "#{name} is a #{pokemon_info[2]} and a #{pokemon_info[3]} type pokemon"
        end
        puts "------------------------------------"

    end
#gets list of pokemon of the chosen name 
gets list of pokemon of the chosen name
gets list of pokemon of the chosen name
def pokemon_more_info(name)
        pokemon_info = PokemonInfoFinder::Pokemon.get_extra_info(name)
        puts ""
        puts "  More information on #{name}"
        puts "------------------------------------"
        puts "#{name} is #{pokemon_info[0]} Pokedex"
        puts "#{name} is known as the #{pokemon_info[1]}"
        if pokemon_info[3] == ""
            puts "#{name} is a #{pokemon_info[2]} type pokemon"
        else
            puts "#{name} is a #{pokemon_info[2]} and a #{pokemon_info[3]} type pokemon"
        end
        puts "------------------------------------"
    end
def pokemon_more_info ( name ) pokemon_info = PokemonInfoFinder :: Pokemon . get_extra_info ( name ) puts "" puts "  More information on #{name}" puts "------------------------------------" puts "#{name} is #{pokemon_info[0]} Pokedex" puts "#{name} is known as the #{pokemon_info[1]}" if pokemon_info [ 3 ] == "" puts "#{name} is a #{pokemon_info[2]} type pokemon" else puts "#{name} is a #{pokemon_info[2]} and a #{pokemon_info[3]} type pokemon" end puts "------------------------------------" end
gets list of pokemon of the chosen name
gets list of pokemon of the chosen name
#gets list of pokemon of that type
name