# File lib/puppet/provider.rb, line 35 35: def self.command(name) 36: name = symbolize(name) 37: 38: if defined?(@commands) and command = @commands[name] 39: # nothing 40: elsif superclass.respond_to? :command and command = superclass.command(name) 41: # nothing 42: else 43: raise Puppet::DevError, "No command %s defined for provider %s" % 44: [name, self.name] 45: end 46: 47: return binary(command) 48: end