Method: Avm::Data::Unit#dump

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

#dump(dump_path) ⇒ void

This method returns an undefined value.

Parameters:

  • dump_path (Pathname)


26
27
28
29
30
31
# File 'lib/avm/data/unit.rb', line 26

def dump(dump_path)
  run_callbacks :dump do
    infom "Dumping unit \"#{name}\" to \"#{dump_path}\"..."
    do_dump(dump_path)
  end
end