Class: Kiba::Extend::Registry::RegistryList

Inherits:
Object
  • Object
show all
Defined in:
lib/kiba/extend/registry/registry_list.rb

Overview

Utility class used by project applications to display information about a set of registered files/jobs

Puts to STDOUT

Since:

  • 2.2.0

Instance Method Summary collapse

Constructor Details

#initialize(*args) ⇒ RegistryList

Returns a new instance of RegistryList.

Parameters:

Since:

  • 2.2.0



14
15
16
17
18
# File 'lib/kiba/extend/registry/registry_list.rb', line 14

def initialize(*args)
  puts ""
  list = args.empty? ? Kiba::Extend.registry.entries : args.flatten
  list.each { |entry| puts entry.summary }
end