[Nitro] Facets #use

Bryan Soto bryan.a.soto at gmail.com
Fri Feb 10 15:25:59 EST 2006

On 2/8/06, TRANS <transfire at gmail.com> wrote:
> In the previous version of Facets thought to offer a more robust way
> of loading facet methods. Eg.
>   require 'facets'
>   Time.use Facets, :stamp
> That didn't seem to go over so well with some people. So I left it out
> this version and stuck to the original way:
>   require 'facet/time/stamp'
> Someones asked about. What are others take on this?
How about

Facets.for Time, :stamp

I like the way that reads.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/nitro-general/attachments/20060210/ed68b660/attachment.html 

More information about the Nitro-general mailing list