We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Heredocs are sensitive to their indentation, but it seems that YARD strips away this indentation.
Create this file and generate documentation for it:
module X A = <<-EOF bar! EOF B = <<-EOF bar! EOF end
irb> require 'yard' => true irb> YARD::Registry.load! => YARD::Registry irb> YARD::Registry.root.children.first.children.map(&:value) => ["<<-EOF\nbar!\nEOF", "<<-EOF\nbar!\nEOF"]
The values of the constants should be "<<-EOF\n bar!\n EOF" and <<-EOF\n bar!\n EOF" respectively, to reflect the values which Ruby assigns to them.
"<<-EOF\n bar!\n EOF"
<<-EOF\n bar!\n EOF"
ruby -v
yard -v
I have read the Contributing Guide.
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Heredocs are sensitive to their indentation, but it seems that YARD strips away this indentation.
Steps to reproduce
Create this file and generate documentation for it:
Actual Output
Expected Output
The values of the constants should be
"<<-EOF\n bar!\n EOF"
and<<-EOF\n bar!\n EOF"
respectively, to reflect the values which Ruby assigns to them.Environment details:
ruby -v
): ruby 2.6.3p62 (2019-04-16 revision 67580) [x86_64-linux]yard -v
): yard 0.9.24I have read the Contributing Guide.
The text was updated successfully, but these errors were encountered: