module NWN::Gff::Handler::YAML

Constants

Domain

See www.taguri.org/ for the exact meaning of this.

NonInlineableFields

These field types can never be inlined in YAML.

Public Class Methods

dump(data, io) click to toggle source
# File lib/nwn/yaml_support.rb, line 14
def self.dump data, io
  str = Psych.dump(data)
  io.write(str)
  str.size
end
load(io) click to toggle source
# File lib/nwn/yaml_support.rb, line 10
def self.load io
  Psych.load(io)
end