From: David Vallner Date: 2006-02-09T09:52:08+09:00 Subject: Re: help using facets? Dňa Streda 08 Február 2006 23:36 a non y mouse napísal: > i just discovered facets and would like to begin using them, but am > having issues: > > require 'facets' works, but i am unable to use anything suggested in the > rdoc or the little stuff i've found online. > > based on > , i > should be able to do > > Time.use Facets, :stamp > > or > > Array.use Facets, :each_permutation > > but both give errors: > > tinker% !. > ./facets.rb > ./facets.rb:5: uninitialized constant Facets (NameError) > from ./facets.rb:3 > tinker% cat facets.rb > #!/usr/local/bin/ruby > > require 'facets' > > Time.use Facets, :stamp > tinker% > > i do have the gems installed: > > tinker% gem list | grep facets > facets (1.0.2) > facets_core (1.0.2) > facets_more (1.0.2) > > same thing if i try the Array line. sooo..what gives? i'd really like to > be able to use its Crypt module. > > thanks Couldn't reproduce this with whatever ruby there is in the Ubuntu repositories, latest rubygems, and whatever "gem in -y facets" gets me. The Facets module does indeed seem to exist, however, my hopes shatter right after that. Time doesn't have a #use class method, in fact, there is no such method in the API documentation. The deprecated method in the documentation doesn't help any either. How -do- you use this library then? The website is also in slight need of spellchecking, I wonder if this would be proper to report via the project bug tracker. David Vallner PS: Am I the only one slightly irritated by the recent surge of posts from faked e-mail addresses, and even anonymous ones?