Class: Vitreous::Standalone::App
- Inherits:
-
Sinatra::Base
- Object
- Sinatra::Base
- Vitreous::Standalone::App
- Defined in:
- lib/vitreous/standalone/app.rb
Instance Method Summary collapse
Instance Method Details
#create_index ⇒ Object
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 |