-
-
Save glyn/8025385 to your computer and use it in GitHub Desktop.
Wondering how to use Yard to police or document overridden methods.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# yard doc A.rb does not document method B.a. | |
# yard stats --list-undoc A.rb reports 2 methods of which 0 are undocumented. | |
# A class. | |
class A | |
# a method. | |
def a | |
puts 'A.a' | |
end | |
end | |
# B class. | |
class B < A | |
def a | |
puts 'B.a' | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment