ruby-win32/lib/ruby/site_ruby/1.8/rubygems.rb
def location_of_caller
    file, lineno = caller[1].split(':')
    lineno = lineno.to_i
    [file, lineno]
  end
# Return the file name (string) and line number (integer) of the caller of
# the caller of this method.
Return the file name (string) and line number (integer) of the caller of
the caller of this method.
Return the file name ( string ) and line number ( integer ) of the caller of the caller of this method .
def location_of_caller
    file, lineno = caller[1].split(':')
    lineno = lineno.to_i
    [file, lineno]
  end
def location_of_caller file , lineno = caller [ 1 ] . split ( ':' ) lineno = lineno . to_i [ file , lineno ] end
Return the file name (string) and line number (integer) of the caller of
the caller of this method.
Return the file name ( string ) and line number ( integer ) of the caller of the caller of this method .