Class: Nzb

Inherits:
Object
  • Object
show all
Defined in:
lib/nzb.rb,
lib/nzb/file.rb,
lib/nzb/parser.rb,
lib/nzb/segment.rb

Overview

Overview:

A library for parsing nzb files using libxml for speed


License:

Author

Kieran Johnson

Copyright

November, 2008

License

Ruby License


Usage:

require 'rubygems'
require 'kieranj-nzb'

n = Nzb.parse(file) # fileset

Defined Under Namespace

Modules: VERSION Classes: File, Parser, Segment

Class Method Summary collapse

Class Method Details

.parse(file) ⇒ Object



38
39
40
# File 'lib/nzb.rb', line 38

def parse(file)
  Parser.new(file).parse
end