Add parent to ruby class template