Class: SciolyFF::Validator::Penalties

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

Overview

Checks for one penalty in the Penalties section of a SciolyFF file

Constant Summary collapse

REQUIRED =
{
  team: Integer,
  points: Integer
}.freeze
OPTIONAL =
{
}.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