2
0

new_module_test.lua 296 B

123456789101112131415
  1. dofile('../modpol.lua');
  2. modpol.orgs.reset()
  3. test_org = modpol.instance:add_org('test_org', 'luke')
  4. test_org:add_member('nathan')
  5. print(table.concat(test_org:list_members(), ", "))
  6. -- modpol.modules.join_org.initiate("paul", test_org)
  7. test_org:call_module(
  8. "join_org_class",
  9. "paul"
  10. )