lib/genshin_object.rb in teyvatdb-0.5.2 vs lib/genshin_object.rb in teyvatdb-0.5.2.1
- old
+ new
@@ -1,8 +1,11 @@
# frozen_string_literal: true
# Module that handles higher constants and base classes and behavior
module GenshinObject
+ KAMERA_KEY_REGEX = /\A[A-Za-z]+\z/
+ NAME_REGEX = /\A[A-Za-z\'\-\.\",\s]+\z/
+
require_relative "genshin_object/artifact_set"
require_relative "genshin_object/artifact_set_bonus"
require_relative "genshin_object/boss"
require_relative "genshin_object/character"
require_relative "genshin_object/material"