Closed
Description
Steps to reproduce
Came up as part of lostisland/faraday#1489 - in short:
- A subclass of Struct is defined:
class Options < Struct; end
- Currently
class Env < Options; end
is documented as: https://www.rubydoc.info/gems/faraday/Faraday/Env - Change to
Env = Options.new { }
as recommended by the Ruby docs results in the Env code being shown inline.
Actual Output
http://localhost:8808/docs/Faraday looks like:
Expected Output
Same treatment as Env = Struct.new { }
which results in a separate page.
Environment details:
- OS: macOS 13.1
- Ruby version (
ruby -v
): ruby 3.2.0 (2022-12-25 revision a528908271) [arm64-darwin22] - YARD version (
yard -v
): yard 0.9.28
I have read the Contributing Guide.
Metadata
Metadata
Assignees
Labels
No labels