moduleapi: Add module:context(host) to produce a fake API context for a given host...
authorMatthew Wild <mwild1@gmail.com>
Sat, 27 Apr 2013 13:57:24 +0000 (14:57 +0100)
committerMatthew Wild <mwild1@gmail.com>
Sat, 27 Apr 2013 13:57:24 +0000 (14:57 +0100)
commitc05ff10ab4ae14c4aecde4635d6c86c1fa001de7
tree09d6b659b1c31cbd4ca7ddfd3d868ceead5bde83
parent70eacd65dd68467a2855b7e398556e89d6231625
moduleapi: Add module:context(host) to produce a fake API context for a given host (or global). module:context("*"):get_option("foo") to get global options.
core/moduleapi.lua