# File lib/puppet/util/provider_features.rb, line 16 16: def available?(obj) 17: if self.methods 18: if methods_available?(obj) 19: return true 20: else 21: return false 22: end 23: else 24: # In this case, the provider has to declare support for this 25: # feature, and that's been checked before we ever get to the 26: # method checks. 27: return false 28: end 29: end