lib/puppet/util/errors.rb
# Return a human-readable string of this object's file and line attributes,
# if set.
#
# @return [String] description of file and line
Return a human-readable string of this object's file and line attributes,
if set.
Return a human - readable string of this object ' s file and line attributes if set .
def error_context
    if file and line
      " at #{file}:#{line}"
    elsif line
      " at line #{line}"
    elsif file
      " in #{file}"
    else
      ""
    end
  end
def error_context if file and line " at #{file}:#{line}" elsif line " at line #{line}" elsif file " in #{file}" else "" end end
Return a human-readable string of this object's file and line attributes,
if set.
Return a human - readable string of this object ' s file and line attributes if set .
description of file and line
description of file and line
String