1) Take a frying pan and melt half the butter in it. Stir in garlic and fry until it begins to color slightly.
2) Put in spinach and smoked ham and saute for about 2 minutes.
3) In a separate saucepan, melt the remaining butter. Stir in ricotta and cook until thoroughly heated.
4) Add freshly cooked pasta into the ricotta pan and toss well. Also stir in smoked ham and spinach mixture.
5) Garnish with shredded Parmesan cheese and serve immediately.