Ruby Keyword: __LINE__ - rking/pry-docmore GitHub Wiki
The code's current line number. Can be a handy way to pepper what would
otherwise be print "Got here 1" statements in your code, e.g.:
if a
p __LINE__
# some stuff
else
p __LINE__
# some other stuff
end
…but you use the pry-debugger gem instead, don't you?