Class: Rtlog::YearEntry

Inherits:
Entry
  • Object
show all
Defined in:
lib/rtlog/archives.rb

Instance Attribute Summary

Attributes inherited from Entry

#config, #logger, #path

Instance Method Summary collapse

Methods inherited from Entry

#==, #date, #initialize

Methods included from DirUtils

#entries

Constructor Details

This class inherits a constructor from Rtlog::Entry

Instance Method Details

#month_entriesObject



197
198
199
200
201
202
203
204
205
# File 'lib/rtlog/archives.rb', line 197

def month_entries
  unless defined?(@month_entries) && @month_entries
    @month_entries = []
    entries(@path).each do |path|
      @month_entries << MonthEntry.new(config, path)
    end
  end
  @month_entries
end