The regulations of Ryanair states that sharp or pointed objects such as knives, swords, blades, work utensils such as nails, etc. they are prohibited objects as cabin luggage. You have all the information in: «Dimensions and objects allowed in hand luggage on Ryanair«.

You have all the information in: "Dimensions and objects allowed in hand luggage on Ryanair".