null.rb

Path: server/environments/null.rb  (CVS)
Last Update: Sat Aug 18 22:54:10 -0700 2007

This file contains the MUES::NullEnvironment class, a <strong>VERY</strong> simple testing MUES::Environment class.

This is a barebones environment used in testing. It doesn‘t really contain any interesting functionality other than the ability to return roles and allow connections.

Well, maybe there‘s a few other things you can do…

Synopsis

  mues> /loadenv NullEnvironment nullWorld
  Attempting to load the 'NullEnvironment' environment as 'nullWorld'
  Successfully loaded 'nullWorld'

  mues> /roles
  nullWorld (NullEnvironment):
       muggle   A boring role for testing
       admin    A barely less-boring role for testing

  (2) roles available to you.

  mues> /connect nullWorld superuser
  Connecting...
  Connected to NullEnvironment as 'superuser'

  nullWorld: superuser>> ...

Subversion ID

$Id$

Authors

  • Michael Granger <ged@FaerieMUD.org>
  • Alexis Lee <red@FaerieMUD.org>

Copyright

Copyright (c) 2000-2003 The FaerieMUD Consortium. All rights reserved.

This module is free software. You may use, modify, and/or redistribute this software under the terms of the Perl Artistic License. (See language.perl.com/misc/Artistic.html)

THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.

Required files

sync   mues   mues/mixins   mues/exceptions   mues/events   mues/environment   mues/role   mues/objectstore   mues/ioeventfilters   mues/objectspacevisitor  

[Validate]