Class: Jekyll::Commands::DraftMover
- Inherits:
-
Jekyll::Compose::FileMover
- Object
- Jekyll::Compose::FileMover
- Jekyll::Commands::DraftMover
- Defined in:
- lib/jekyll/commands/publish.rb
Instance Attribute Summary
Attributes inherited from Jekyll::Compose::FileMover
Instance Method Summary collapse
Methods inherited from Jekyll::Compose::FileMover
#ensure_directory_exists, #initialize, #move, #move_file, #validate_should_write!, #validate_source
Constructor Details
This class inherits a constructor from Jekyll::Compose::FileMover
Instance Method Details
#resource_type_from ⇒ Object
64 65 66 |
# File 'lib/jekyll/commands/publish.rb', line 64 def resource_type_from "draft" end |
#resource_type_to ⇒ Object
67 68 69 |
# File 'lib/jekyll/commands/publish.rb', line 67 def resource_type_to "post" end |