Skip to content

Implement Exception.to_tty? #8033

@ntkme

Description

@ntkme

Environment Information

jruby 9.4.5.0 (3.1.4) 2023-11-02 1abae2700f OpenJDK 64-Bit Server VM 17.0.4+8-LTS on 17.0.4+8-LTS +jit [arm64-darwin]

Expected Behavior

Exception.to_tty? should work and behave similar to $stderr.tty?.

Actual Behavior

NoMethodError: undefined method `to_tty?' for Exception:Class

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions