It is not idiomatic Ruby, I am a polygon too, and I love reading that syntax in the languages it is idiomatic in, but not Ruby. Enumerable FTW in Ruby.