"stat" command is not able to show aliases for top-level methods #812

Closed
kyrylo opened this Issue Jan 15, 2013 · 0 comments

Comments

Projects
None yet
1 participant
Owner

kyrylo commented Jan 15, 2013

[1] pry(main)> def original; end
=> nil
[2] pry(main)> stat original
Method Information:
--
Name: original
Alias: None.
Owner: Object
Visibility: private
Type: Bound
Arity: 0
Method Signature: original()
Source Location: (pry):1
[3] pry(main)> 
[4] pry(main)> 
[5] pry(main)> alias almost_original original
=> nil
[6] pry(main)> stat almost_original
Method Information:
--
Name: almost_original
Alias: None.
Owner: Object
Visibility: private
Type: Bound
Arity: 0
Method Signature: almost_original()
Source Location: (pry):1
[7] pry(main)> stat original
Method Information:
--
Name: original
Alias: None.
Owner: Object
Visibility: private
Type: Bound
Arity: 0
Method Signature: original()
Source Location: (pry):1

kyrylo closed this in 5073334 Nov 21, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment