Class: Stastic::Command::Preview

Inherits:
Base
  • Object
show all
Defined in:
lib/stastic/commands/preview.rb

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from Stastic::Command::Base

Instance Method Details

#indexObject



4
5
6
7
# File 'lib/stastic/commands/preview.rb', line 4

def index
  generator = Stastic::Generator.detect
  generator.preview
end