On 2011-04-15 21:10, Clay Caviness wrote:
Let's say I have a very simple template
template.erb:
% if not has_variable?(foobar) then foobar = undefined end -%
foobar: %= foobar %
class: %= foobar.class %
And a basic manifest:
template.pp:
$mytemp = template('template.erb')
On 04/15/2011 09:10 PM, Clay Caviness wrote:
Let's say I have a very simple template
template.erb:
% if not has_variable?(foobar) then foobar = undefined end -%
foobar: %= foobar %
class: %= foobar.class %
And a basic manifest:
template.pp:
$mytemp = template('template.erb')
Let's say I have a very simple template
template.erb:
% if not has_variable?(foobar) then foobar = undefined end -%
foobar: %= foobar %
class: %= foobar.class %
And a basic manifest:
template.pp:
$mytemp = template('template.erb')
notice($mytemp)
And then I apply the manifest, with an undefined