Class NWN::Gff::Reader

  1. lib/nwn/gff/reader.rb
Parent: Object

A class that parses binary GFF bytes into ruby-friendly data structures.

Methods

public class

  1. read

Included modules

  1. NWN::Gff

Attributes

root_struct [R]

Public class methods

read (io)

Create a new Reader with the given io and immediately parse it.

[show source]
# File lib/nwn/gff/reader.rb, line 10
  def self.read io
    t = new(io)
    t.root_struct
  end