method
top
v1_9_3_392 -
Show latest stable
- Class:
IRB::Frame
top(n = 0)public
No documentation available.
# File lib/irb/frame.rb, line 36
def top(n = 0)
bind = @frames[-(n + CALL_STACK_OFFSET)]
Fail FrameUnderflow unless bind
bind
end