[Source]
# File multiverse/networking/populators/ip_populator.rb, line 23 def on_invoke(params={}) modified = [] ip_address = IPSocket.getaddress(Socket.gethostname) params[:properties].each do |prop| next if prop.key != 'ip' prop.value = ip_address modified << prop end return modified end
[Validate]