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



399
400
401
402
403
404
405
# File 'lib/RGSS.rb', line 399

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