Method: Pry::Code::LOC#lineno

Defined in:
lib/pry/code/loc.rb

#linenoInteger

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns:

  • (Integer)


48
49
50
# File 'lib/pry/code/loc.rb', line 48

def lineno
  tuple.last
end