added template() shortcut
This commit is contained in:
@@ -31,6 +31,11 @@ module Dumm
|
|||||||
super(id, *args)
|
super(id, *args)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# shortcut for Template loading
|
||||||
|
def template(name)
|
||||||
|
Template.load name
|
||||||
|
end
|
||||||
|
|
||||||
# unload templates, reset all guests and delete bridges
|
# unload templates, reset all guests and delete bridges
|
||||||
def reset
|
def reset
|
||||||
Template.unload
|
Template.unload
|
||||||
|
|||||||
Reference in New Issue
Block a user