#Works if -D provided as it can find the line

class A
  def method
      puts caller(0)[1]
  end
end
