summaryrefslogtreecommitdiff
path: root/lib/chef/win32
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2016-03-04 11:11:40 -0800
committerLamont Granquist <lamont@scriptkiddie.org>2016-03-04 11:11:40 -0800
commit4fd88f1f3c7d847712e61abab2bac6cb4a987265 (patch)
treedfb881adfed537b6f6c9084f7a61779416605e1e /lib/chef/win32
parentf17fc92d3b8400cc91bfd384c5bf39fd40bdf5b1 (diff)
downloadchef-4fd88f1f3c7d847712e61abab2bac6cb4a987265.tar.gz
add some @yield docs
added some FIXMEs because trying to sort out types for random undocumented code was making me completely aggro
Diffstat (limited to 'lib/chef/win32')
-rw-r--r--lib/chef/win32/api/file.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/chef/win32/api/file.rb b/lib/chef/win32/api/file.rb
index aeb424bab0..7489c94fd9 100644
--- a/lib/chef/win32/api/file.rb
+++ b/lib/chef/win32/api/file.rb
@@ -535,6 +535,7 @@ BOOL WINAPI VerQueryValue(
# retrieves a file search handle and passes it
# to +&block+ along with the find_data. also
# ensures the handle is closed on exit of the block
+ # FIXME: yard with @yield
def file_search_handle(path)
begin
# Workaround for CHEF-4419:
@@ -559,6 +560,7 @@ BOOL WINAPI VerQueryValue(
# retrieves a file handle and passes it
# to +&block+ along with the find_data. also
# ensures the handle is closed on exit of the block
+ # FIXME: yard with @yield
def file_handle(path)
begin
path = canonical_encode_path(path)
@@ -574,6 +576,7 @@ BOOL WINAPI VerQueryValue(
end
end
+ # FIXME: yard with @yield
def symlink_file_handle(path)
begin
path = encode_path(path)