Class: Pokemongodb::Type::Ghost

Inherits:
Pokemongodb::Type show all
Defined in:
lib/pokemongodb/types/ghost.rb

Class Method Summary collapse

Methods inherited from Pokemongodb::Type

all, locations, strong_against, weak_against

Methods inherited from Pokemongodb

to_s

Class Method Details

.offense_strongObject



4
5
6
7
8
9
# File 'lib/pokemongodb/types/ghost.rb', line 4

def self.offense_strong
  [
    Pokemongodb::Type::Ghost,
    Pokemongodb::Type::Psychic
  ]
end

.offense_weakObject



11
12
13
14
15
# File 'lib/pokemongodb/types/ghost.rb', line 11

def self.offense_weak
  [
    Pokemongodb::Type::Dark
  ]
end