Method: Chef::Resource#source_line_file

Defined in:
lib/chef/resource.rb

#source_line_fileObject


1421
1422
1423
1424
1425
1426
1427
# File 'lib/chef/resource.rb', line 1421

def source_line_file
  if source_line
    source_line.match(/(.*):(\d+):?.*$/).to_a[1]
  else
    nil
  end
end