Method: When::Parts::Resource#include?
- Defined in:
- lib/when_exe/parts/resource.rb
#include?(other) ⇒ Boolean
self が other を包含するか
862 863 864 865 866 867 868 869 |
# File 'lib/when_exe/parts/resource.rb', line 862 def include?(other) c = other while c.kind_of?(Resource) return true if c.equal?(self) c = c.parent end return false end |