bucket in ruby