inspect | = | "DefaultBehavior Reflection" |
contains behavior related to reflection
-
none
- !=(other)
- asText()
- become!(objectToBecome)
- derive()
- freeze!()
- frozen?()
- in?(aList)
- is?(potentialMimic)
- kind?(name)
- mimic!(newMimic)
- mimics()
- mimics?(potentialMimic)
- prependMimic!(newMimic)
- removeAllMimics!()
- removeMimic!(mimicToRemove)
- same?(other)
- send(messageName, +[arguments], +:keywordArguments)
- thaw!()
- uniqueHexId()
returns false if the left hand side is equal to the right hand side. exactly what this means depend on the object. the default behavior of Ioke objects is to only be equal if they are the same instance.
modifies the receiver to be in all ways identical to the argument. if the receiver is nil, true or false, this method can't be used - but those are the only exceptions. it's generally not recommended to use it on kinds and objects that are important for the Ioke runtime, since the result might be highly unpredictable.
returns true if the receiver is included in the argument. sends 'include?' to the argument to find this out
[ show source ]
method(aList, aList include?(self))
Takes one evaluated argument and returns either true or false if this object or one of it's mimics mimics that argument. exactly the same as 'mimics?'
Takes one evaluated Text argument and returns either true or false if this object or one of it's mimics have the kind of the name specified
Takes one evaluated argument and adds it to the list of mimics for the receiver. the receiver will be returned.
returns a list of all the mimics of the receiver. it will not be the same list as is used to back the object, so modifications to this list will not show up in the object.
Takes one evaluated argument and returns either true or false if this object or one of it's mimics mimics that argument
Takes one evaluated argument and prepends it to the list of mimics for the receiver. the receiver will be returned.
removes the argument mimic from the list of all mimics on the receiver. will do nothing if the receiver has no such mimic. it returns the receiver
returns true if the evaluated argument is the same reference as the receiver, false otherwise.
takes the name of a message to send, and the arguments to give it. send should generally behave exactly as if you had sent the message itself - except that you can give a variable containing the name.