# File lib/puppet/provider/nameservice.rb, line 284 284: def info2hash(info) 285: hash = {} 286: self.class.resource_type.validproperties.each do |param| 287: method = posixmethod(param) 288: if info.respond_to? method 289: hash[param] = info.send(posixmethod(param)) 290: end 291: end 292: 293: return hash 294: end