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



353
354
355
# File 'lib/RGSS.rb', line 353

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

#encode(name, value) ⇒ Object



349
350
351
# File 'lib/RGSS.rb', line 349

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