Skip to content

JSON::GeneratorError#detailed_message raises NoMethodError with Ruby < 3.2 #758

@rahim

Description

@rahim

This affects json >= 2.9.0 used with ruby < 3.2.

#712 added JSON::GeneratorError which defines #detailed_message expecting to delegate to super. For affected rubies this leads to NoMethodError if invoked, eg as happens here in sinatra.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions