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, #timestamp_format, #title, #type, #validate!
Constructor Details
This class inherits a constructor from Jekyll::Compose::ArgParser
Instance Method Details
#date ⇒ Object
43 44 45 |
# File 'lib/jekyll/commands/post.rb', line 43 def date @date ||= ["date"] ? Date.parse(["date"]) : Time.now end |