# File lib/puppet/util/log.rb, line 513 513: def source=(source) 514: # We can't store the actual source, we just store the path. 515: # We can't just check for whether it responds to :path, because 516: # plenty of providers respond to that in their normal function. 517: if (source.is_a?(Puppet::Type) or source.is_a?(Puppet::Parameter)) and source.respond_to?(:path) 518: set_source_from_ral(source) 519: else 520: @source = source.to_s 521: end 522: end