The meta library provides information about the running ruleset. The following are available (notice that these are values, not functions):

The following are not available in version 1.0.0 of the pico-engine, though they were available in version 0.52.4 and most earlier versions.

Use instead:

wrangler:rulesetMeta(meta:rid){"author"}

wrangler:rulesetMeta(meta:rid){"description"}

wrangler:rulesetMeta(meta:rid){"name"}


The following are not yet ported from the classic engine:

Note, in the case of meta:moduleRID(), meta:moduleVersion(), and meta:inModule(), care has been taken to preserve static behavior. So, for example, if you do the following, you should get the result you expect based on static function semantics:

ruleset my_module {
 
  ...
  global {
    myRid = function() { meta:rid }
  }
}
 
ruleset use_my_module {
  meta {
    use module my_module
  }
  global {
    x = my_module:myRid();
    // x = my_module, not use_my_module
  }
}