# File lib/puppet/file_serving/content.rb, line 36 36: def content 37: unless defined?(@content) and @content 38: # This stat can raise an exception, too. 39: raise(ArgumentError, "Cannot read the contents of links unless following links") if stat().ftype == "symlink" 40: 41: @content = ::File.read(full_path()) 42: end 43: @content 44: end