Module: FReCon

Defined in:
lib/frecon/base/variables.rb,
lib/frecon/model.rb,
lib/frecon/routes.rb,
lib/frecon/server.rb,
lib/frecon/console.rb,
lib/frecon/scraper.rb,
lib/frecon/database.rb,
lib/frecon/position.rb,
lib/frecon/controller.rb,
lib/frecon/models/team.rb,
lib/frecon/match_number.rb,
lib/frecon/models/match.rb,
lib/frecon/models/robot.rb,
lib/frecon/configuration.rb,
lib/frecon/models/record.rb,
lib/frecon/configuration_file.rb,
lib/frecon/models/competition.rb,
lib/frecon/models/participation.rb,
lib/frecon/controllers/dump_controller.rb,
lib/frecon/controllers/teams_controller.rb,
lib/frecon/controllers/robots_controller.rb,
lib/frecon/controllers/matches_controller.rb,
lib/frecon/controllers/records_controller.rb,
lib/frecon/controllers/competitions_controller.rb,
lib/frecon/controllers/participations_controller.rb

Overview

Public: The FReCon API module.

Defined Under Namespace

Modules: Routes Classes: Competition, CompetitionsController, Configuration, ConfigurationFile, Console, Controller, Database, DumpController, Match, MatchNumber, MatchesController, Model, Participation, ParticipationsController, Position, Record, RecordsController, Robot, RobotsController, Scraper, Server, Team, TeamsController

Constant Summary collapse

VERSION =

Public: A String representing the current version of FReCon.

"1.2.0"

Class Method Summary collapse

Class Method Details

.environmentObject

Public: Returns the current environment.



18
19
20
# File 'lib/frecon/base/variables.rb', line 18

def self.environment
  @environment_variable
end

.environment=(arg) ⇒ Object

Public: Sets the environment.

arg - The new environment.

Returns the result from setting the current environment.



27
28
29
# File 'lib/frecon/base/variables.rb', line 27

def self.environment=(arg)
  @environment_variable = arg
end