http double in ruby