Class: Jekyll::Commands::PostMover
- Inherits:
-
Jekyll::Compose::FileMover
- Object
- Jekyll::Compose::FileMover
- Jekyll::Commands::PostMover
- Defined in:
- lib/jekyll/commands/unpublish.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, #update_front_matter, #validate_should_write!, #validate_source
Constructor Details
This class inherits a constructor from Jekyll::Compose::FileMover
Instance Method Details
#resource_type_from ⇒ Object
66 67 68 |
# File 'lib/jekyll/commands/unpublish.rb', line 66 def resource_type_from "post" end |
#resource_type_to ⇒ Object
70 71 72 |
# File 'lib/jekyll/commands/unpublish.rb', line 70 def resource_type_to "draft" end |