Class: RGSS::Game_System

Inherits:
Object
  • Object
show all
Includes:
BasicCoder
Defined in:
lib/RGSS.rb

Constant Summary

Constants included from BasicCoder

BasicCoder::INCLUDED_CLASSES

Instance Method Summary collapse

Methods included from BasicCoder

#decode, #encode_with, included, #init_with, #ivars, set_ivars_methods

Instance Method Details

#encode(name, value) ⇒ Object



325
326
327
328
329
330
331
# File 'lib/RGSS.rb', line 325

def encode(name, value)
  if name == 'version_id'
    return map_version(value)
  else
    return value
  end
end