Class: Basketball::Season::Exhibition

Inherits:
Game show all
Defined in:
lib/basketball/season/exhibition.rb

Overview

An exhibition game.

Instance Method Summary collapse

Methods inherited from Game

#for?, #initialize, #teams

Methods inherited from ValueObject

#<=>, #==, #[], #all_sorted_values, #hash, #to_h

Methods included from ValueObjectDSL

#all_sorted_value_keys, #all_value_keys, #value_keys, #value_reader

Constructor Details

This class inherits a constructor from Basketball::Season::Game

Instance Method Details

#to_sObject



7
8
9
# File 'lib/basketball/season/exhibition.rb', line 7

def to_s
  "#{super} (exhibition)"
end