Refactored item.class.to_s == "ClassName" to item.kind_of?(ClassName)
Refactored item.class.to_s == "ClassName" to item.kind_of?(ClassName)

In the process, removed needless if statement.

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