module Sashite::CGN

Public Class Methods

dump(io) click to toggle source

To create a CGN string for communication or serialization.

# File lib/sashite/cgn.rb, line 11
def self.dump io
  Gameplay.dump io
end
load(io) click to toggle source

To parse a CGN string received by another application.

# File lib/sashite/cgn.rb, line 6
def self.load io
  Gameplay.load io
end