method

source_location

ruby latest stable - Class: Binding

Method not available on this version

This method is only available on newer versions. The first available version (v2_6_3) is shown here.

source_location()
public

Returns the Ruby source filename and line number of the binding object.