HCLTech Interview Question

What’s your favorite testing tool? How would you declare and use a constructor in Ruby?