struct Archive::ArchiveYear

Overview

Year containing months

Defined in:

archive.cr

Constructors

Instance Method Summary

Constructor Detail

def self.create(year : Int32, months_data : Hash(String, Array(Markdown::File))) : self #

[View source]
def self.new(year : String, months : Array(ArchiveMonth)) #

[View source]

Instance Method Detail

def clone #

[View source]
def copy_with(year _year = @year, months _months = @months) #

[View source]
def months : Array(ArchiveMonth) #

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

[View source]
def year : String #