Class: Kiba::Extend::Registry::RegistryList
- Inherits:
-
Object
- Object
- Kiba::Extend::Registry::RegistryList
- 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
Instance Method Summary collapse
-
#initialize(*args) ⇒ RegistryList
constructor
A new instance of RegistryList.
Constructor Details
#initialize(*args) ⇒ RegistryList
Returns a new instance of RegistryList.
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 |