summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteven Danna <steve@opscode.com>2015-01-19 09:13:59 +0000
committerBryan McLellan <btm@opscode.com>2015-02-17 08:46:37 -0500
commit671b5d63236841a74ba0c15879027c35e488a849 (patch)
treebe7ce6bf182b2cdff899edde93b1ca9d7347fc49
parent07e843a58fdfd730c3874f484bdb1eee3dde7f82 (diff)
downloadchef-671b5d63236841a74ba0c15879027c35e488a849.tar.gz
Update comments in File::Verification class
-rw-r--r--lib/chef/resource/file/verification.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/chef/resource/file/verification.rb b/lib/chef/resource/file/verification.rb
index a1dec3c17f..4071aaaeaa 100644
--- a/lib/chef/resource/file/verification.rb
+++ b/lib/chef/resource/file/verification.rb
@@ -41,7 +41,7 @@ class Chef
#
# To create a registered verification, create a class that
# inherits from Chef::Resource::File::Verification and use the
- # register class method to give it name. Registered
+ # provides class method to give it name. Registered
# verifications are expected to supply a verify instance method
# that takes 2 arguments.
#
@@ -96,6 +96,8 @@ class Chef
end
end
+ # opts is currently unused, but included in the API
+ # to support future extensions
def verify_block(path, opts)
@block.call(path)
end