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/knife.rb | |
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/knife.rb')
-rw-r--r-- | lib/chef/knife.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/chef/knife.rb b/lib/chef/knife.rb index 1c2c88e540..30825750a8 100644 --- a/lib/chef/knife.rb +++ b/lib/chef/knife.rb @@ -510,6 +510,7 @@ class Chef response.body end + # FIXME: yard with @yield def create_object(object, pretty_name = nil, object_class: nil) output = edit_data(object, object_class: object_class) @@ -526,6 +527,7 @@ class Chef output(output) if config[:print_after] end + # FIXME: yard with @yield def delete_object(klass, name, delete_name = nil) confirm("Do you really want to delete #{name}") |