• Marek Vavruša's avatar
    daemon/engine: syntactic sugar for module ‘get’, ‘set’ properties · ae7b572d
    Marek Vavruša authored
    if the module declares such properties, they can be accessed
    by treating module as a table, e.g.
    
    hints[‘localhost’] = ‘127.0.0.1’
    hints.hostname = ‘192.168.1.1.
    print(hints.localhost)
    
    equals to:
    hints.set(‘localhost 127.0.0.1’)
    hints.set(‘hostname 192.168.1.1’)
    print(hints.get(‘localhost’))
    ae7b572d
Name
Last commit
Last update
daemon Loading commit data...
doc Loading commit data...
include Loading commit data...
lib Loading commit data...
modules Loading commit data...
scripts Loading commit data...
tests Loading commit data...
.gitignore Loading commit data...
.travis.yml Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
ChangeLog Loading commit data...
CodingStyle Loading commit data...
Makefile Loading commit data...
README.md Loading commit data...
config.mk Loading commit data...
help.mk Loading commit data...
platform.mk Loading commit data...