A gem for calculating an assets value using the straight line method