Module: Rubygoal

Defined in:
lib/rubygoal/ball.rb,
lib/rubygoal/game.rb,
lib/rubygoal/goal.rb,
lib/rubygoal/team.rb,
lib/rubygoal/util.rb,
lib/rubygoal/coach.rb,
lib/rubygoal/field.rb,
lib/rubygoal/player.rb,
lib/rubygoal/version.rb,
lib/rubygoal/moveable.rb,
lib/rubygoal/recorder.rb,
lib/rubygoal/formation.rb,
lib/rubygoal/simulator.rb,
lib/rubygoal/coordinate.rb,
lib/rubygoal/match_data.rb,
lib/rubygoal/teams/away.rb,
lib/rubygoal/teams/home.rb,
lib/rubygoal/coach_loader.rb,
lib/rubygoal/players/fast.rb,
lib/rubygoal/configuration.rb,
lib/rubygoal/players/average.rb,
lib/rubygoal/players/captain.rb,
lib/rubygoal/coach_definition.rb,
lib/rubygoal/players/goalkeeper.rb,
lib/rubygoal/formation/formation_dsl.rb,
lib/rubygoal/players/player_movement.rb,
lib/rubygoal/coaches/coach_definition_away.rb,
lib/rubygoal/coaches/coach_definition_home.rb

Defined Under Namespace

Modules: Field, Moveable, Util Classes: AveragePlayer, AwayTeam, Ball, CaptainPlayer, Coach, CoachDefinition, CoachDefinitionAway, CoachDefinitionHome, CoachLoader, Configuration, Coordinate, FastPlayer, Formation, Game, Goal, GoalKeeperPlayer, HomeTeam, MatchData, Player, PlayerMovement, Position, Recorder, Simulator, Team, Velocity

Constant Summary collapse

VERSION =
Gem::Version.new '1.2.0'

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configurationObject



17
18
19
# File 'lib/rubygoal/configuration.rb', line 17

def configuration
  @configuration ||= Configuration.new
end

Class Method Details

.configure {|configuration| ... } ⇒ Object

Yields:



21
22
23
# File 'lib/rubygoal/configuration.rb', line 21

def configure
  yield(configuration)
end