Guest User

Untitled

a guest
Dec 18th, 2018
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.16 KB | None | 0 0
  1. hosts_dirty = net_view.split("\r\n").grep /^\\\\/
  2. hosts_dirty.each do |host|
  3. hosts = Array.new
  4. hosts << host.gsub('\\','')
  5. puts hosts
  6. end
Add Comment
Please, Sign In to add comment