Sha256: a589d0c4fb0c35deae48bc35f90cca859bd4d31e0fcbe2c6fadbcf5455ff92bb
Contents?: true
Size: 264 Bytes
Versions: 19
Compression:
Stored size: 264 Bytes
Contents
class Rollin::YearArchive attr_reader :year, :monthly_archive def initialize(year, monthly_archive) @year, @monthly_archive = year, monthly_archive end def articles monthly_archive.map { |month_archive| month_archive.articles }.flatten end end
Version data entries
19 entries across 19 versions & 1 rubygems