Ranocchia played for Gasperini at Genoa.
"I never understood why Genoa fired him mid-season," the 23-year-old defender told the Gazzetta dello Sport.
"I owe so much to the Coach, because I was out injured for a long time and he immediately put his faith in me, despite the fact at the start I struggled to understand his ideas.
"In terms of personality and work ethic, Gasperini reminds me of Antonio Conte, who I worked with at Bari. Both are very focused on details, are fiery and determined.
"He uses recordings of games to prepare for a match and never makes a scene. If he has something to tell you, he does it in private, but if necessary he'll pin you to the wall!"