A short Ruby converter