struct Archive::ArchiveMonth

Overview

Month containing posts

Defined in:

archive.cr

Constructors

Instance Method Summary

Constructor Detail

def self.create(year : Int32, month : Int32, posts : Array(Markdown::File)) : self #

[View source]
def self.new(name : String, posts : Array(ArchivePost)) #

[View source]

Instance Method Detail

def clone #

[View source]
def copy_with(name _name = @name, posts _posts = @posts) #

[View source]
def name : String #

def posts : Array(ArchivePost) #

def to_h : Hash(String, String | Array(Hash(String, String))) #

[View source]