class ChefCLI::Policyfile::DSL

def culprit_line_number(policyfile_filename, exception)

def culprit_line_number(policyfile_filename, exception)
  if ( most_proximate_backtrace_line = filtered_bt(policyfile_filename, exception).first )
    most_proximate_backtrace_line[/^(?:.\:)?[^:]+:([\d]+)/, 1].to_i
  else
    nil
  end
end