Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Workaround for Ruby's warning in YARD #12890

Merged
merged 1 commit into from
May 8, 2024

Commits on May 7, 2024

  1. Workaround for Ruby's warning in YARD

    This is a workaround to prevent the following warning in YARD:
    
    ```console
    $ ruby -v
    ruby 3.4.0dev (2024-04-19T07:33:16Z master 7951b349ab) [x86_64-darwin23]
    $ cd path/to/rubocop
    $ bundle exec rake
    /Users/koic/.rbenv/versions/3.4-dev/lib/ruby/gems/3.4.0+0/gems/yard-0.9.36/lib/yard/templates/template_options.rb:2:
    warning: ostruct was loaded from the standard library, but will no longer be part of the default gems since Ruby 3.5.0.
    Add ostruct to your Gemfile or gemspec.
    ```
    
    The fundamental resolution will likely be addressed in lsegal/yard#1545.
    koic committed May 7, 2024
    Configuration menu
    Copy the full SHA
    1d5ef36 View commit details
    Browse the repository at this point in the history