Method: Lifer::Entry.manifest

Defined in:
lib/lifer/entry.rb

.manifestArray<Lifer::Entry>

Whenever an entry is generated it should be added to the entry manifest. This lets us get a list of all generated entries.

Returns:

  • (Array<Lifer::Entry>)

    A list of all entries that currently exist.



76
77
78
79
80
# File 'lib/lifer/entry.rb', line 76

def manifest
  return Lifer.entry_manifest if self == Lifer::Entry

  Lifer.entry_manifest.select { |entry| entry.class == self }
end