summaryrefslogtreecommitdiff
path: root/lib/chef/knife.rb
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/knife.rb
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/knife.rb')
-rw-r--r--lib/chef/knife.rb2
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}")