Can i get shock damage legend affix with a ruby?

I want to mnow if i can roll a shock damage legend affix with a ruby thanks

Element damage are generally gained using epics. But you can get element related legend affixes with rubies I think (eg blistering for fire). If you change the element nature of a weapon to another then the legend affix automatically converts to the new element

You cannot roll Shock damage from Ruby, it is drop only. You can roll Legend/Ruby Elemental Critical damage “High Voltage” though. I have placed a very old gear of mine below to see the two on the same gear.

Shock damage from Frozen Fate warrior drop that I jasper to wizard. High Voltage from Ruby Roll for elemental critical damage.