summaryrefslogtreecommitdiff
path: root/lib/chef/knife.rb
diff options
context:
space:
mode:
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}")