Class: Kiba::Extend::Registry::RegisteredSource
- Inherits:
-
RegisteredFile
- Object
- RegisteredFile
- Kiba::Extend::Registry::RegisteredSource
- Includes:
- RequirableFile
- Defined in:
- lib/kiba/extend/registry/registered_source.rb
Overview
Value object representing a RegistryEntry being used as a job source
Instance Attribute Summary
Attributes inherited from RegisteredFile
#data, #desc, #dest_class, #dest_opt, #dest_special_opts, #key, #lookup_on, #path, #src_opt, #supplied
Instance Method Summary collapse
-
#args ⇒ Hash
Arguments for calling Kiba Source class.
-
#klass ⇒ Object
Methods included from RequirableFile
Methods inherited from RegisteredFile
Constructor Details
This class inherits a constructor from Kiba::Extend::Registry::RegisteredFile
Instance Method Details
#args ⇒ Hash
Arguments for calling Kiba Source class
25 26 27 |
# File 'lib/kiba/extend/registry/registered_source.rb', line 25 def args {src_class.path_key => path}.merge(src_opts) end |
#klass ⇒ Object
29 30 31 |
# File 'lib/kiba/extend/registry/registered_source.rb', line 29 def klass src_class end |