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.1"
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
# File 'lib/program-tv.rb', line 18

def self.run!(options = {})
  data = Parser.new.run
  puts Writer.new(data).run
end