From dca9c61dd82cd65b782852b749654bd33096180c Mon Sep 17 00:00:00 2001 From: Olle Jonsson Date: Fri, 29 Mar 2019 15:32:53 +0100 Subject: API docs: Avoid YARD warning - [InvalidTagFormat] Invalid tag format for @return Signed-off-by: Olle Jonsson --- lib/ffi_yajl/map_library_name.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib') diff --git a/lib/ffi_yajl/map_library_name.rb b/lib/ffi_yajl/map_library_name.rb index 6ec3c0c..b00ff78 100644 --- a/lib/ffi_yajl/map_library_name.rb +++ b/lib/ffi_yajl/map_library_name.rb @@ -34,7 +34,7 @@ module FFI_Yajl # Stub for tests to override the host_os # # @api private - # @return Array lower case ruby host_os string + # @return [Array] lower case ruby host_os string def host_os RbConfig::CONFIG["host_os"].downcase end @@ -43,7 +43,7 @@ module FFI_Yajl # and Mac may have different names/extensions. # # @api private - # @return Array Array of yajl library names for platform + # @return [Array] Array of yajl library names for platform def library_names case host_os when /mingw|mswin/ @@ -63,7 +63,7 @@ module FFI_Yajl # the filesystem. May return an empty array. # # @api private - # @return Array Array of full paths to libyajl2 gem libraries + # @return [Array] Array of full paths to libyajl2 gem libraries def expanded_library_names library_names.map do |libname| pathname = File.expand_path(File.join(Libyajl2.opt_path, libname)) -- cgit v1.2.1