Module: GenshinData::Weapons
- Defined in:
- lib/genshin_data/weapons.rb,
lib/genshin_data/weapons/weapon_data.rb,
lib/genshin_data/weapons/weapon_data/bows.rb,
lib/genshin_data/weapons/weapon_data/swords.rb,
lib/genshin_data/weapons/weapon_data/polearms.rb,
lib/genshin_data/weapons/weapon_data/catalysts.rb,
lib/genshin_data/weapons/weapon_data/claymores.rb
Overview
Module for accessing weapon data
Defined Under Namespace
Modules: WeaponData
Class Method Summary collapse
- .all ⇒ Object
- .bows ⇒ Object
- .catalysts ⇒ Object
- .claymores ⇒ Object
- .polearms ⇒ Object
- .swords ⇒ Object
Class Method Details
.all ⇒ Object
9 10 11 12 13 14 15 16 17 |
# File 'lib/genshin_data/weapons.rb', line 9 def all [ bows, catalysts, claymores, polearms, swords ].flatten.sort { |x, y| x.kamera_key <=> y.kamera_key } end |
.bows ⇒ Object
19 20 21 |
# File 'lib/genshin_data/weapons.rb', line 19 def bows WeaponData::Bows.all end |
.catalysts ⇒ Object
23 24 25 |
# File 'lib/genshin_data/weapons.rb', line 23 def catalysts WeaponData::Catalysts.all end |
.claymores ⇒ Object
27 28 29 |
# File 'lib/genshin_data/weapons.rb', line 27 def claymores WeaponData::Claymores.all end |
.polearms ⇒ Object
31 32 33 |
# File 'lib/genshin_data/weapons.rb', line 31 def polearms WeaponData::Polearms.all end |
.swords ⇒ Object
35 36 37 |
# File 'lib/genshin_data/weapons.rb', line 35 def swords WeaponData::Swords.all end |