Module: Rubygoal::Config

Defined in:
lib/rubygoal/config.rb,
lib/rubygoal/config_definitions.rb

Defined Under Namespace

Classes: Ball, Field, Game, Goal, Player, Team

Class Method Summary collapse

Class Method Details

.ballObject



60
61
62
# File 'lib/rubygoal/config_definitions.rb', line 60

def ball
  @ball ||= Ball.new
end

.fieldObject



52
53
54
# File 'lib/rubygoal/config_definitions.rb', line 52

def field
  @field ||= Field.new
end

.gameObject



72
73
74
# File 'lib/rubygoal/config_definitions.rb', line 72

def game
  @game ||= Game.new
end

.goalObject



68
69
70
# File 'lib/rubygoal/config_definitions.rb', line 68

def goal
  @goal ||= Goal.new
end

.playerObject



64
65
66
# File 'lib/rubygoal/config_definitions.rb', line 64

def player
  @player ||= Player.new
end

.teamObject



56
57
58
# File 'lib/rubygoal/config_definitions.rb', line 56

def team
  @team ||= Team.new
end