Class: Jekyll::Commands::Post::PostArgParser
- Inherits:
-
Jekyll::Compose::ArgParser
- Object
- Jekyll::Compose::ArgParser
- Jekyll::Commands::Post::PostArgParser
- Defined in:
- lib/jekyll/commands/post.rb
Instance Attribute Summary
Attributes inherited from Jekyll::Compose::ArgParser
Instance Method Summary collapse
Methods inherited from Jekyll::Compose::ArgParser
#force?, #initialize, #layout, #source, #title, #type, #validate!
Constructor Details
This class inherits a constructor from Jekyll::Compose::ArgParser
Instance Method Details
#date ⇒ Object
40 41 42 |
# File 'lib/jekyll/commands/post.rb', line 40 def date ["date"].nil? ? Time.now : Date.parse(["date"]) end |