# File lib/puppet/type.rb, line 143
143:     def self.ensurable?
144:         # If the class has all three of these methods defined, then it's
145:         # ensurable.
146:         ens = [:exists?, :create, :destroy].inject { |set, method|
147:             set &&= self.public_method_defined?(method)
148:         }
149: 
150:         return ens
151:     end