From: Trans Date: 2008-03-01T05:43:35+09:00 Subject: Re: Monkeypatching is Destroying Ruby On Feb 29, 2:40 pm, "Eric Mahurin" wrote: > On Fri, Feb 29, 2008 at 12:46 PM, Trans wrote: > > FACETS DOES NOT OVERRIDE ANY BUILT-IN METHODS. > > You don't have to yell, but I'm glad to hear this. BTW, "redefine" is > probably the better term to use. Derived classes "override" methods in > their base class. > > In the context of the previous methods, I falsely jumped to the conclusion > that Hash#- was part of the std ruby distribution since a conflict in what > the functionality should be was being discussed. I apologize. I don't keep > track of what all methods are available in each class (especially String, > Array, and Hash). > > > It's a way to provide some tertiary standardization > > around common Ruby idioms. > > Yep. I think your library is providing things that YOU think should be part > of Ruby. If somebody else provides methods for what they think should be > part of Ruby, your library and their code most likely won't play together. The majority of Facets' comes directly from the field. Either by direct contribution or through my pursing the works of others. The rdocs atest to that by the fact that it cites dozens of authors. Sure, some of them are strictly my ideas (or my implementation of other's ideas). But I work hard to focus the library for general usecases and fairly obvious definitions. T.