self
self ?subcommand?
In a method, gives facts about the call: self or self object is the name of the object, self class the class of the method, self method the name of the method, and self next the next method of the chain.
This page also has oo::Helpers::self.
Errors
oo::class create T; selfgives the errorself may only be called from inside a method
Facts
- Capability: none.
- Compute cost: one compute unit for the call, and more for the commands that it runs.