On a previous diff, you wrote "Yes, the only challenge here is the use of kind_of? to detect that the class is derived from Chef::Resource::Script. I'd like to find such an operator for two classes."

Docs here might be helpful: http://ruby-doc.org/core-2.1.1/Module.html

But here's the short version:

```ruby
class A; end
class B < A; end

# This is maybe the more readable way:
B.ancestors.include?(B) #=> true
B.ancestors.include?(A) #=> true

# Using operators:
B <= A #=> true
A <= A #=> true
```