summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlle Jonsson <olle.jonsson@gmail.com>2019-03-29 15:32:53 +0100
committerOlle Jonsson <olle.jonsson@gmail.com>2019-03-29 15:35:27 +0100
commitdca9c61dd82cd65b782852b749654bd33096180c (patch)
tree18ed902008f4b4e4788b97bd29bbaec4a3e6a601
parent1f463be6d56e64ed66be1a07f89cf06446ace3af (diff)
downloadffi-yajl-dca9c61dd82cd65b782852b749654bd33096180c.tar.gz
API docs: Avoid YARD warning
- [InvalidTagFormat] Invalid tag format for @return Signed-off-by: Olle Jonsson <olle.jonsson@gmail.com>
-rw-r--r--lib/ffi_yajl/map_library_name.rb6
1 files changed, 3 insertions, 3 deletions
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<String> lower case ruby host_os string
+ # @return [Array<String>] 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<String> Array of yajl library names for platform
+ # @return [Array<String>] 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<String> Array of full paths to libyajl2 gem libraries
+ # @return [Array<String>] 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))