Class: SciolyFF::Validator::TopLevel

Inherits:
Checker
  • Object
show all
Includes:
Sections
Defined in:
lib/sciolyff/validator/top_level.rb

Overview

Top-level sections of a SciolyFF file

Constant Summary collapse

REQUIRED =
{
  Tournament: Hash,
  Events: Array,
  Teams: Array,
  Placings: Array
}.freeze
OPTIONAL =
{
  Subdivisions: Array,
  Penalties: Array
}.freeze

Method Summary

Methods included from Sections

#all_required_sections?, #no_extra_sections?, #rep_is_hash?, #sections_are_correct_type?

Methods inherited from Checker

inherited, #initialize, #send

Constructor Details

This class inherits a constructor from SciolyFF::Validator::Checker