diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2014-08-20 17:06:17 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2014-08-20 17:06:17 -0700 |
commit | d158e9b6e7646f7b123947b894c5240bd8ab9bf5 (patch) | |
tree | 89100a7f84ca9d7ea2b5838da7d4959eba9b9046 | |
parent | 6f2bbbb26a6efcb9362cc16a689654291b8ca67b (diff) | |
download | chef-d158e9b6e7646f7b123947b894c5240bd8ab9bf5.tar.gz |
Modify wording in exception
-rw-r--r-- | lib/chef/resource_collection.rb | 2 |
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 |