I'm interested in the pattern of

if provider.respond_to?()


In particular, 

provider.validate if provider.respond_to?(:validate)

I have 

def validate
  blah blah

in my provider, but that does not seem to be enough.

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/puppet-dev/-/XkJcdSByG5UJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-dev?hl=en.

Reply via email to