Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The meta library provides information about the running ruleset. The following functions are available:

  • meta:rid(). meta:rid() returns the ruleset ID of the current running ruleset.
  • meta:version(). meta:version() returns the version of the currently running ruleset.
  • meta:callingRID(). meta:callingRID() returns the RID of the calling ruleset if running in a module, or the current ruleset ID otherwise.
  • meta:callingVersion(). meta:callingVersion() returns the version of the calling ruleset if running in a module, or the current ruleset version otherwise.
  • meta:moduleRID(). meta:moduleRID() returns the RID of the module if running in a module, or the current ruleset ID otherwise.
  • meta:moduleVersion(). meta:moduleVersion() returns the version of the module if running in a module, or the current ruleset version otherwise.
  • meta:inModule(). meta:inModule() returns a Boolean value indicating whether the current code is running in a module.