Method: PDK::Report#events

Defined in:
lib/pdk/report.rb

#eventsHash{String=>Array<PDK::Report::Event>}

Memoised access to the report event storage hash.

The keys of the Hash are the source names of the Events (see PDK::Report::Event#source).

Examples:

accessing events from the puppet-lint validator

report = PDK::Report.new
report.events['puppet-lint']

Returns:



33
34
35
# File 'lib/pdk/report.rb', line 33

def events
  @events ||= {}
end