Class: Pokemongodb::Type::Rock

Inherits:
Pokemongodb::Type show all
Defined in:
lib/pokemongodb/types/rock.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
10
11
# File 'lib/pokemongodb/types/rock.rb', line 4

def self.offense_strong
  [
    Pokemongodb::Type::Bug,
    Pokemongodb::Type::Fire,
    Pokemongodb::Type::Flying,
    Pokemongodb::Type::Ice
  ]
end

.offense_weakObject



13
14
15
16
17
18
19
# File 'lib/pokemongodb/types/rock.rb', line 13

def self.offense_weak
  [
    Pokemongodb::Type::Fighting,
    Pokemongodb::Type::Ground,
    Pokemongodb::Type::Steel
  ]
end