Ruby metrics