diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2016-03-04 11:11:40 -0800 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2016-03-04 11:11:40 -0800 |
commit | 4fd88f1f3c7d847712e61abab2bac6cb4a987265 (patch) | |
tree | dfb881adfed537b6f6c9084f7a61779416605e1e /lib/chef/mixin | |
parent | f17fc92d3b8400cc91bfd384c5bf39fd40bdf5b1 (diff) | |
download | chef-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/mixin')
-rw-r--r-- | lib/chef/mixin/command.rb | 1 | ||||
-rw-r--r-- | lib/chef/mixin/provides.rb | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/lib/chef/mixin/command.rb b/lib/chef/mixin/command.rb index 387292c8f8..0cc3143ec7 100644 --- a/lib/chef/mixin/command.rb +++ b/lib/chef/mixin/command.rb @@ -177,6 +177,7 @@ class Chef # module_function :popen4 + # FIXME: yard with @yield def chdir_or_tmpdir(dir) dir ||= Dir.tmpdir unless File.directory?(dir) diff --git a/lib/chef/mixin/provides.rb b/lib/chef/mixin/provides.rb index a9dc8bc8f0..43a726de8c 100644 --- a/lib/chef/mixin/provides.rb +++ b/lib/chef/mixin/provides.rb @@ -13,6 +13,7 @@ class Chef # Check whether this resource provides the resource_name DSL for the given # node. TODO remove this when we stop checking unregistered things. + # FIXME: yard with @yield def provides?(node, resource) raise NotImplementedError, :provides? end |