yardoc Questions

2

Solved

I have a method that looks like this: def get_endpoint(params: {}) end I want the caller of this method to be able to pass in a few optional parameters. I want to write YARD documentation to su...
Averir asked 19/9, 2016 at 14:31

0

I have an object with a method returning a lambda: class Book def mark_page(marker_color) lambda do |page| page.mark(marker_color) end end end And I want to document this Book#mark_page met...
Delphiadelphic asked 22/1, 2020 at 10:7

1

Solved

We are using Yardoc to create the HTML documentation for a number of gems and my company's apps. We are also using Rubocop to for style guide compliance. The issue I am running into is that we ha...
Winer asked 5/3, 2018 at 20:18
1

© 2022 - 2024 — McMap. All rights reserved.