summaryrefslogtreecommitdiff
path: root/lib/chef/resource/build_essential.rb
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2019-03-11 16:27:27 -0700
committerTim Smith <tsmith@chef.io>2019-03-11 16:54:50 -0700
commitaf4ba14f511780ce55737aec2d346d0bf1afb962 (patch)
treeac5af9e99a1f87ff1d8d12551c300982ccd8fb0d /lib/chef/resource/build_essential.rb
parent62c6ff31ea837b2b4c361e413191090fc9e4b4a7 (diff)
downloadchef-af4ba14f511780ce55737aec2d346d0bf1afb962.tar.gz
Add misc YARD commentsyard3
A pile of misc yard I added as I was reading things. Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'lib/chef/resource/build_essential.rb')
-rw-r--r--lib/chef/resource/build_essential.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/chef/resource/build_essential.rb b/lib/chef/resource/build_essential.rb
index c10be4b6a1..e9cb656ca6 100644
--- a/lib/chef/resource/build_essential.rb
+++ b/lib/chef/resource/build_essential.rb
@@ -121,7 +121,6 @@ class Chef
# Determine if the XCode Command Line Tools are installed
#
# @return [true, false]
- #
def xcode_cli_installed?
cmd = Mixlib::ShellOut.new("pkgutil --pkgs=com.apple.pkg.CLTools_Executables")
cmd.run_command
@@ -131,6 +130,8 @@ class Chef
end
# this resource forces itself to run at compile_time
+ #
+ # @return [void]
def after_created
return unless compile_time
Array(action).each do |action|