Class: Kiba::Extend::Sources::Enumerable

Inherits:
Common::Sources::Enumerable
  • Object
show all
Extended by:
Sourceable
Defined in:
lib/kiba/extend/sources/enumerable.rb

Overview

Extension of Kiba::Common::Sources::Enumerable, adding methods supporting use as a source in registry entries

Since:

  • 4.0.0

Class Method Summary collapse

Methods included from Sourceable

is_source?

Methods included from Registry::Fileable

#default_args, #default_file_options, #labeled_options, #options_key, #path_key, #requires_path?

Class Method Details

.default_file_optionsObject

Since:

  • 4.0.0



14
15
16
# File 'lib/kiba/extend/sources/enumerable.rb', line 14

def default_file_options
  nil
end

.options_keyObject

Since:

  • 4.0.0



18
19
20
# File 'lib/kiba/extend/sources/enumerable.rb', line 18

def options_key
  nil
end

.path_keyObject

Since:

  • 4.0.0



22
23
24
# File 'lib/kiba/extend/sources/enumerable.rb', line 22

def path_key
  nil
end

.requires_path?Boolean

Returns:

  • (Boolean)

Since:

  • 4.0.0



26
27
28
# File 'lib/kiba/extend/sources/enumerable.rb', line 26

def requires_path?
  false
end