Maybe I'm asking too much, but is there a way to dynamically add resources
in a define/parametrized class based on a variable (or hash) passed to a
containing class/define?
Something that when I call
boo { bah:
options = {
optiona = valuea,
optionb = valueb,
},
}
gets
Did you try something like:
define boo($a=a, $b=b, $c=c) {
bar { $title:
a = $a,
b = $b,
c = $c,
}
}
boo { 'the title' : a = a value, c = c value }
- henrik
On 10/27/11 1:29 PM, Alessandro Franceschi wrote:
Maybe I'm asking too much, but is there a way to dynamically
On Thursday, October 27, 2011 4:03:42 PM UTC+1, Henrik Lindberg wrote:
Did you try something like:
define boo($a=a, $b=b, $c=c) {
bar { $title:
a = $a,
b = $b,
c = $c,
}
}
boo { 'the title' : a = a value, c = c value }
Thanks for reply, Henrik
What