Module: InOrOut

Defined in:
lib/in_or_out.rb,
lib/in_or_out/version.rb,
lib/in_or_out/models/team.rb,
lib/in_or_out/models/match.rb,
lib/in_or_out/models/player.rb,
lib/in_or_out/models/scraper.rb,
lib/in_or_out/models/player_extractor.rb,
lib/in_or_out/models/shortcode_converter.rb

Defined Under Namespace

Classes: Match, Player, PlayerExtractor, Scraper, ShortcodeConverter, Team

Constant Summary collapse

VERSION =
"0.1.0"

Class Method Summary collapse

Class Method Details

.configObject



19
20
21
# File 'lib/in_or_out.rb', line 19

def self.config
  HashWithIndifferentAccess.new(YAML.load(File.read("#{self.root}/config/analyser.yml")))
end

.rootObject



15
16
17
# File 'lib/in_or_out.rb', line 15

def self.root
  File.expand_path '../..', __FILE__
end