# File lib/puppet/provider/nameservice.rb, line 249 249: def info2hash(info) 250: hash = {} 251: self.class.resource_type.validproperties.each do |param| 252: method = posixmethod(param) 253: hash[param] = info.send(posixmethod(param)) if info.respond_to? method 254: end 255: 256: hash 257: end