]> git.cworth.org Git - sup/commitdiff
alias ferret to index in index.rb for cuter console examples
authorwmorgan <wmorgan@5c8cc53c-5e98-4d25-b20a-d8db53a31250>
Tue, 30 Oct 2007 21:47:56 +0000 (21:47 +0000)
committerwmorgan <wmorgan@5c8cc53c-5e98-4d25-b20a-d8db53a31250>
Tue, 30 Oct 2007 21:47:56 +0000 (21:47 +0000)
git-svn-id: svn://rubyforge.org/var/svn/sup/trunk@654 5c8cc53c-5e98-4d25-b20a-d8db53a31250

lib/sup/index.rb

index 7dff1cd3e2e6ea0ce8f0aa758a5c201fadd91de2..6a499c9e72ae2d04d73fcf5f7ab0f8fd64ebcfe0 100644 (file)
@@ -18,6 +18,7 @@ class Index
   include Singleton
 
   attr_reader :index
+  alias ferret index
   def initialize dir=BASE_DIR
     @dir = dir
     @sources = {}