On Tue, Jul 29, 2014 at 4:53 PM, Jeff McCune <[email protected]> wrote:

> On Tue, Jul 29, 2014 at 4:42 PM, Andy Parker <[email protected]> wrote:
>
>> Here is an example
>> https://github.com/puppetlabs/puppet/pull/2900/files#diff-f9ef6a029a765863382f55a75a8fbd7cR27
>>
>
> Could you help me understand what it should look like?
>
>
if @render_as
  @render_as
else
  raise ....
end

Or it could be

if !@render_as
  raise ...
end
@render_as



-Jeff
>
> --
> You received this message because you are subscribed to the Google Groups
> "Puppet Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/puppet-dev/CAOXx1vHSHOQN5kdU%2Bq0u8NV9PPT8z74%3DeM3M0vJ%2B172G07u2Xg%40mail.gmail.com
> <https://groups.google.com/d/msgid/puppet-dev/CAOXx1vHSHOQN5kdU%2Bq0u8NV9PPT8z74%3DeM3M0vJ%2B172G07u2Xg%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Andrew Parker
[email protected]
Freenode: zaphod42
Twitter: @aparker42
Software Developer

*Join us at PuppetConf 2014 <http://www.puppetconf.com/>, September
22-24 in San Francisco*
*Register by May 30th to take advantage of the Early Adopter discount
<http://links.puppetlabs.com/puppetconf-early-adopter> **—**save $349!*

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-dev/CANhgQXuAtYkE3k2yzX6C1g_jJGxWht0_0sxaQvaiE6RYvHwQzA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to