Skip to content

Commit 7f3fc33

Browse files
committed
chore: Configure YARD documentation generation options
- Add .yardopts file to customize YARD documentation generation - Exclude private files and set documentation generation preferences - Adjust YARD visibility annotation in ta_lib_ffi.rb
1 parent d4e7fe6 commit 7f3fc33

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.yardopts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
--no-private
2+
--exclude lib/ta_lib_ffi/doc.rb
3+
lib/**/*.rb

lib/ta_lib_ffi.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ module TALibFFI
2222

2323
if defined?(Zeitwerk)
2424
# https://github.com/fxn/zeitwerk?tab=readme-ov-file#custom-inflector
25+
# @!visibility private
2526
class Inflector < Zeitwerk::GemInflector
26-
# @!visibility private
2727
def camelize(basename, _abspath)
2828
case basename
2929
when "ta_lib_ffi"

0 commit comments

Comments
 (0)