Catalogo sport in YAML, board implicito, engine per volley/basket/timed/racket/timer/generic, regia e app Android allineate. Co-authored-by: Cursor <cursoragent@cursor.com>
12 lines
201 B
Ruby
12 lines
201 B
Ruby
# frozen_string_literal: true
|
|
|
|
module Sports
|
|
class OverlayKind
|
|
ALL = %w[none timer volley basket timed racket].freeze
|
|
|
|
def self.valid?(value)
|
|
ALL.include?(value.to_s)
|
|
end
|
|
end
|
|
end
|