struct Archive::ArchivePost

Overview

Individual post entry in archive

Defined in:

archive.cr

Constructors

Instance Method Summary

Constructor Detail

def self.from_post(post : Markdown::File) : self #

[View source]
def self.new(title : String, link : String, date : String) #

[View source]

Instance Method Detail

def clone #

[View source]
def copy_with(title _title = @title, link _link = @link, date _date = @date) #

[View source]
def date : String #

def link : String #

def title : String #

def to_h : Hash(String, String) #

[View source]