Remove ‘/virtual/’ by pattern with gsub
Remove ‘/virtual/’ by pattern with gsub

before:
ns= ‘/virtual/parent_resource_pool/name’
predicate = ns.split("/")
=> ["", "virtual", "parent_resource_pool", "name"]
predicate = ns.split(“/“)[2..-1] # throw away /virtual
=> ["parent_resource_pool", "name"]

after: (same)
ns= ‘/virtual/parent_resource_pool/name’
ns.gsub!("/virtual/","")  # throw away /virtual
=> ‘parent_resource_pool/name’
predicate = ns.split("/")
=> ["parent_resource_pool", "name"]

jntullo/manageiq,ManageIQ/manageiq,lpichler/manageiq,israel-hdez/manageiq,andyvesel/manageiq,billfitzgerald0120/manageiq,syncrou/manageiq,romanblanco/manageiq,durandom/manageiq,kbrock/manageiq,andyvesel/manageiq,ilackarms/manageiq,jameswnl/manageiq,gerikis/manageiq,mkanoor/manageiq,billfitzgerald0120/manageiq,NaNi-Z/manageiq,mresti/manageiq,yaacov/manageiq,fbladilo/manageiq,ilackarms/manageiq,djberg96/manageiq,borod108/manageiq,NaNi-Z/manageiq,jntullo/manageiq,josejulio/manageiq,syncrou/manageiq,pkomanek/manageiq,tzumainn/manageiq,tzumainn/manageiq,romanblanco/manageiq,mfeifer/manageiq,d-m-u/manageiq,fbladilo/manageiq,chessbyte/manageiq,romanblanco/manageiq,ailisp/manageiq,skateman/manageiq,pkomanek/manageiq,tzumainn/manageiq,aufi/manageiq,aufi/manageiq,gerikis/manageiq,hstastna/manageiq,fbladilo/manageiq,jrafanie/manageiq,tinaafitz/manageiq,borod108/manageiq,mfeifer/manageiq,ailisp/manageiq,chessbyte/manageiq,agrare/manageiq,romanblanco/manageiq,josejulio/manageiq,mresti/manageiq,skateman/manageiq,israel-hdez/manageiq,andyvesel/manageiq,mresti/manageiq,juliancheal/manageiq,yaacov/manageiq,branic/manageiq,hstastna/manageiq,skateman/manageiq,andyvesel/manageiq,ilackarms/manageiq,tzumainn/manageiq,tinaafitz/manageiq,tinaafitz/manageiq,matobet/manageiq,jvlcek/manageiq,durandom/manageiq,israel-hdez/manageiq,NickLaMuro/manageiq,agrare/manageiq,borod108/manageiq,jvlcek/manageiq,aufi/manageiq,gmcculloug/manageiq,yaacov/manageiq,gmcculloug/manageiq,mzazrivec/manageiq,d-m-u/manageiq,chessbyte/manageiq,ManageIQ/manageiq,NickLaMuro/manageiq,jrafanie/manageiq,mresti/manageiq,ManageIQ/manageiq,ilackarms/manageiq,billfitzgerald0120/manageiq,jrafanie/manageiq,lpichler/manageiq,NaNi-Z/manageiq,agrare/manageiq,mkanoor/manageiq,lpichler/manageiq,juliancheal/manageiq,durandom/manageiq,branic/manageiq,chessbyte/manageiq,borod108/manageiq,durandom/manageiq,pkomanek/manageiq,mfeifer/manageiq,matobet/manageiq,mfeifer/manageiq,jrafanie/manageiq,lpichler/manageiq,kbrock/manageiq,gmcculloug/manageiq,jameswnl/manageiq,mkanoor/manageiq,juliancheal/manageiq,ailisp/manageiq,skateman/manageiq,syncrou/manageiq,jameswnl/manageiq,kbrock/manageiq,d-m-u/manageiq,matobet/manageiq,d-m-u/manageiq,aufi/manageiq,jvlcek/manageiq,mzazrivec/manageiq,NickLaMuro/manageiq,djberg96/manageiq,NaNi-Z/manageiq,djberg96/manageiq,billfitzgerald0120/manageiq,ailisp/manageiq,syncrou/manageiq,gerikis/manageiq,israel-hdez/manageiq,jntullo/manageiq,branic/manageiq,jameswnl/manageiq,agrare/manageiq,hstastna/manageiq,fbladilo/manageiq,josejulio/manageiq,tinaafitz/manageiq,matobet/manageiq,yaacov/manageiq,mzazrivec/manageiq,jntullo/manageiq,NickLaMuro/manageiq,mzazrivec/manageiq,ManageIQ/manageiq,hstastna/manageiq,mkanoor/manageiq,pkomanek/manageiq,djberg96/manageiq,jvlcek/manageiq,gmcculloug/manageiq,josejulio/manageiq,branic/manageiq,juliancheal/manageiq,gerikis/manageiq,kbrock/manageiq