diff options
author | Tim Smith <tsmith@chef.io> | 2019-04-23 09:49:46 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-23 09:49:46 -0700 |
commit | 2711f144499fc662b51885699ce7c6147a2dfeda (patch) | |
tree | 9337b5f01100790b9b6b2ae70bb5d67ac29f7fe7 | |
parent | 0ad4e8836e796640a511f917cc0b8daabb25dc0b (diff) | |
parent | dca9c61dd82cd65b782852b749654bd33096180c (diff) | |
download | ffi-yajl-2711f144499fc662b51885699ce7c6147a2dfeda.tar.gz |
Merge pull request #98 from olleolleolle/patch-1
API docs: Avoid YARD warning
-rw-r--r-- | lib/ffi_yajl/map_library_name.rb | 6 |
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)) |