module LivescoreParser

Constants

DESCRIPTION
SUMMARY

Public Class Methods

run!(options = {}) click to toggle source

Initilizes Runner which controls all the magic stuff.

# File lib/livescore-parser.rb, line 17
def self.run!(options = {})
  @@options = options
  data = Parser.new.run
  Writer.new(data).run
end

Private Class Methods

gem_root() click to toggle source
# File lib/livescore-parser.rb, line 25
def self.gem_root
  File.expand_path '../..', __FILE__
end
selected_pages() click to toggle source
# File lib/livescore-parser.rb, line 29
def self.selected_pages
  @channels ||= YAML::load(File.open(@@options[:pages] || File.join(gem_root, 'pages.yml')))
end