Class: RGSS::Game_Switches

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

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

Instance Method Details

#decode(name, value) ⇒ Object



272
273
274
# File 'lib/RGSS.rb', line 272

def decode(name, value)
  return hash_to_array(value)
end

#encode(name, value) ⇒ Object



268
269
270
# File 'lib/RGSS.rb', line 268

def encode(name, value)
  return array_to_hash(value)
end