Skip to content

some adjustments to show-source behaviour #691

@banister

Description

@banister

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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions