Class MUES::EvalCommandEvent
In: lib/mues/events/commandevents.rb  (CVS)
Parent: MUES::PrivilegedEvent

This file

Methods

new  

Constants

SVNRev = %q$Rev: 1206 $   SVN Revision
SVNId = %q$Id: commandevents.rb 1206 2004-05-09 21:25:11Z deveiant $   SVN Id
SVNURL = %q$URL: svn+ssh://deveiate.org/usr/local/svn/MUES/trunk/lib/mues/events/commandevents.rb $   SVN URL

Attributes

code  [R]  The code to be evaluated
context  [R]  The object that will serve as the context in which to evaluate the code.
user  [R]  The user the eval should be executed for

Public Class methods

Create a new EvalCommandEvent that will evaluate the specified code in the context of the given contextObject for the given user.

[Source]

# File lib/mues/events/commandevents.rb, line 56
        def initialize( code, contextObject, user )
            @code = code
            @context = contextObject
            @user = user
        end

[Validate]