you can do @duration.hours