Skip to content

Commit

Permalink
docs(yard): introduce internal tag
Browse files Browse the repository at this point in the history
  • Loading branch information
marian13 committed Oct 6, 2022
1 parent d803814 commit 4cc898b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .yardopts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,12 @@
# NOTE: `.yardopts` docs.
# https://rubydoc.info/gems/yard/YARD/CLI/Yardoc
#
# NOTE: `@internal` tag.
# https://github.com/lsegal/yard/issues/484#issuecomment-442596174
#
--markup markdown
--markup-provider commonmarker
--output-dir docs
--tag internal --hide-tag internal
'lib/**/*.rb' -
README.md
4 changes: 2 additions & 2 deletions lib/convenient_service/utils/module.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ class << self
# @param max_iteration_count [Integer]
# @return [UnboundMethod, nil]
#
def get_own_instance_method(mod, method_name, **kwargs)
GetOwnInstanceMethod.call(mod, method_name, **kwargs)
def get_own_instance_method(mod, method_name, private: false, max_iteration_count: Support::FiniteLoop::MAX_ITERATION_COUNT)
GetOwnInstanceMethod.call(mod, method_name, private: private, max_iteration_count: max_iteration_count)
end

##
Expand Down

0 comments on commit 4cc898b

Please sign in to comment.