some adjustments to show-source behaviour #691

Closed
banister opened this Issue Aug 18, 2012 · 1 comment

Comments

Projects
None yet
3 participants
Owner

banister commented Aug 18, 2012

When inside an object (e.g cd object) show-source without parameters should show the source of class (highest candidate). If the highest candidate is a C class (e.g most source_location return nil) then display a warning, and dont show code of second-highest candidate (this is to prevent confusion when someone is e.g inside a core class like String, so we dont show them a monkeypatch of String).

@rf- rf- added the bug label Apr 29, 2014

@rf- rf- removed this from the 0.9.11 milestone Apr 29, 2014

@rf- rf- removed the refactor label Apr 29, 2014

This still sounds like a good idea but if we haven't gotten to it in 2 years I recommend closing this issue.

@kyrylo kyrylo closed this in f289862 Feb 27, 2015

kyrylo added a commit that referenced this issue Feb 27, 2015

CHANGELOG: mention the fix of #691
The commit that fixes it:

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