Method: Avm::Data::Unit#load

Defined in:
lib/avm/data/unit.rb

#load(dump_path) ⇒ void

This method returns an undefined value.

Parameters:

  • dump_path (Pathname)


35
36
37
38
39
40
41
# File 'lib/avm/data/unit.rb', line 35

def load(dump_path)
  run_callbacks :load do
    clear
    infom "Loading unit \"#{name}\" from \"#{dump_path}\"..."
    do_load(dump_path)
  end
end