Skip to content

Support ruby 3.2, DEPRECATED File.exists? #514

@sandraa-nestor

Description

@sandraa-nestor

When I try to generate api docs on ruby 3.2.0 I get an error:

../lib/rspec_api_documentation/writers/writer.rb:17:in 'clear_docs': undefined method 'exists?' for File:Class (NoMethodError)

File.exists? was deprecated in ruby 2.1.0 and has been removed in the ruby 3.2.0

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