summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2014-08-20 17:06:17 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2014-08-20 17:06:17 -0700
commitd158e9b6e7646f7b123947b894c5240bd8ab9bf5 (patch)
tree89100a7f84ca9d7ea2b5838da7d4959eba9b9046
parent6f2bbbb26a6efcb9362cc16a689654291b8ca67b (diff)
downloadchef-d158e9b6e7646f7b123947b894c5240bd8ab9bf5.tar.gz
Modify wording in exception
-rw-r--r--lib/chef/resource_collection.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/resource_collection.rb b/lib/chef/resource_collection.rb
index c745d48f1a..cc14a03962 100644
--- a/lib/chef/resource_collection.rb
+++ b/lib/chef/resource_collection.rb
@@ -258,7 +258,7 @@ class Chef
def is_chef_resource(arg)
unless arg.kind_of?(Chef::Resource)
- raise ArgumentError, "Cannot insert a #{arg.class} into a resource collection: must be a Chef::Resource or descendant thereof"
+ raise ArgumentError, "Cannot insert a #{arg.class} into a resource collection: must be a subclass of Chef::Resource"
end
true
end