Class: Vitreous::Standalone::App

Inherits:
Sinatra::Base
  • Object
show all
Defined in:
lib/vitreous/standalone/app.rb

Instance Method Summary collapse

Instance Method Details

#create_indexObject



50
51
52
53
54
55
# File 'lib/vitreous/standalone/app.rb', line 50

def create_index
  structure = Vitreous::Share::LocalStructure.new( "/#{VITREOUS_FOLDER}/website" )
  indexer   = Vitreous::Share::Indexer.new( structure.generate )
  
  indexer.generate
end