Module: ProgramTV

Defined in:
lib/program-tv.rb,
lib/program-tv/parser.rb,
lib/program-tv/writer.rb

Defined Under Namespace

Classes: Parser, Writer

Constant Summary collapse

VERSION =

"0.0.4"
SUMMARY =
"TV Channel parser"
DESCRIPTION =
"Downloads TV channel list in XML format"

Class Method Summary collapse

Class Method Details

.run!(options = {}) ⇒ Object

Initilizes Runner which controls all the magic stuff.



18
19
20
21
22
# File 'lib/program-tv.rb', line 18

def self.run!(options = {})
  @@options = options
  data = Parser.new.run
  Writer.new(data, @@options[:destination]).run
end