Module: Primer::Static::GenerateAuditedAt

Defined in:
lib/primer/static/generate_audited_at.rb

Overview

:nodoc:

Class Method Summary collapse

Class Method Details

.callObject



9
10
11
12
13
# File 'lib/primer/static/generate_audited_at.rb', line 9

def call
  Primer::Component.descendants.sort_by(&:name).each_with_object({}) do |component, mem|
    mem[component.to_s] = component.audited_at.to_s
  end
end