Class: Rpub::Commands::Clean

Inherits:
Base
  • Object
show all
Includes:
Rpub::CompilationHelpers
Defined in:
lib/rpub/commands/clean.rb

Instance Attribute Summary

Attributes inherited from Base

#options

Instance Method Summary collapse

Methods included from Rpub::CompilationHelpers

#config, #create_book, #layout, #markdown_files, #styles

Methods inherited from Base

#help, #initialize

Methods included from SubclassTracker

#each, #identifier, #inherited, #matching

Constructor Details

This class inherits a constructor from Rpub::Commands::Base

Instance Method Details

#invokeObject



8
9
10
11
12
# File 'lib/rpub/commands/clean.rb', line 8

def invoke
  super
  remove create_book.filename
  remove 'preview.html'
end