strongswan.org
Wiki/Project Management
Downloads
Gitweb
projects
/
strongswan.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8a7d324
)
added template() shortcut
author
Martin Willi
<martin@strongswan.org>
Tue, 7 Apr 2009 17:58:23 +0000
(17:58 -0000)
committer
Martin Willi
<martin@strongswan.org>
Tue, 7 Apr 2009 17:58:23 +0000
(17:58 -0000)
src/dumm/ext/lib/dumm.rb
patch
|
blob
|
history
diff --git
a/src/dumm/ext/lib/dumm.rb
b/src/dumm/ext/lib/dumm.rb
index
28485e9
..
770052b
100644
(file)
--- a/
src/dumm/ext/lib/dumm.rb
+++ b/
src/dumm/ext/lib/dumm.rb
@@
-31,6
+31,11
@@
module Dumm
super(id, *args)
end
+ # shortcut for Template loading
+ def template(name)
+ Template.load name
+ end
+
# unload templates, reset all guests and delete bridges
def reset
Template.unload