Sha256: 583b9809ce2417d6022c0b32a941ac6eaabdd0923d7f50ee714ea12dcd0f3f25
Contents?: true
Size: 648 Bytes
Versions: 6
Compression:
Stored size: 648 Bytes
Contents
# frozen_string_literal: true module GenshinData module Weapons require_relative "weapons/weapon_data" class << self def all [ bows, catalysts, claymores, polearms, swords, ].flatten.sort { |x, y| x.kamera_key <=> y.kamera_key } end def bows WeaponData::Bows.all end def catalysts WeaponData::Catalysts.all end def claymores WeaponData::Claymores.all end def polearms WeaponData::Polearms.all end def swords WeaponData::Swords.all end end end end
Version data entries
6 entries across 6 versions & 1 rubygems