Class: Pokemongodb::Type::Grass
- Inherits:
-
Pokemongodb::Type
- Object
- Pokemongodb
- Pokemongodb::Type
- Pokemongodb::Type::Grass
- Defined in:
- lib/pokemongodb/types/grass.rb
Class Method Summary collapse
Methods inherited from Pokemongodb::Type
all, locations, strong_against, weak_against
Methods inherited from Pokemongodb
Class Method Details
.offense_strong ⇒ Object
4 5 6 7 8 9 10 |
# File 'lib/pokemongodb/types/grass.rb', line 4 def self.offense_strong [ Pokemongodb::Type::Ground, Pokemongodb::Type::Rock, Pokemongodb::Type::Water ] end |
.offense_weak ⇒ Object
12 13 14 15 16 17 18 19 20 21 22 |
# File 'lib/pokemongodb/types/grass.rb', line 12 def self.offense_weak [ Pokemongodb::Type::Bug, Pokemongodb::Type::Dragon, Pokemongodb::Type::Fire, Pokemongodb::Type::Flying, Pokemongodb::Type::Grass, Pokemongodb::Type::Poison, Pokemongodb::Type::Steel ] end |