Sha256: 25100b8e03d909a7476a31f916ebb0ede3f3a48d11c9a90c3b2bceee5b0535ed

Contents?: true

Size: 313 Bytes

Versions: 6

Compression:

Stored size: 313 Bytes

Contents

# frozen_string_literal: true

module TeyvatDB::GenshinData
  # Base class to represent various Genshin Nations
  class Nation
    attr_accessor :order, :name, :pretty_name

    def initialize(order:, name:, pretty_name:)
      @order = order
      @name = name
      @pretty_name = pretty_name
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
teyvatdb-0.1.12 lib/teyvatdb/genshin_data/nation.rb
teyvatdb-0.1.11 lib/teyvatdb/genshin_data/nation.rb
teyvatdb-0.1.10 lib/teyvatdb/genshin_data/nation.rb
teyvatdb-0.1.9 lib/teyvatdb/genshin_data/nation.rb
teyvatdb-0.1.8 lib/teyvatdb/genshin_data/nation.rb
teyvatdb-0.1.7 lib/teyvatdb/genshin_data/nation.rb