lib/yard-api/verifier.rb in yard-api-0.2.3 vs lib/yard-api/verifier.rb in yard-api-0.3.0
- old
+ new
@@ -22,9 +22,11 @@
def relevant_object?(object)
case object.type
when :root, :module, :constant
false
+ when :api
+ true
when :method, :class
return false if object.tags('internal').any?
object.tags('API').any?.tap do |is_api|
if @verbose && !is_api