From a2b9cbb546411b379d14a929d2d66c3d218f4e45 Mon Sep 17 00:00:00 2001 From: Connor Shea Date: Wed, 4 Dec 2019 20:37:37 -0700 Subject: [PATCH] Exclude string.rb from consideration by YARD. This is necessary because otherwise YARD will assume all references to "String" mean Faker::String. The long-term solution for this is probably to deprecate Faker::String and move the Faker::String.random method into Faker::Types. --- .yardopts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.yardopts b/.yardopts index 8ef2fed38a..110fedad29 100644 --- a/.yardopts +++ b/.yardopts @@ -1,5 +1,6 @@ --no-private --tag faker.version:"Available since" --exclude lib/faker/deprecate/ +--exclude lib/faker/default/string.rb --output-dir yard_docs -lib/**/*.rb \ No newline at end of file +lib/**/*.rb