Class: Kiba::Extend::Sources::CSV
- Inherits:
-
Common::Sources::CSV
- Object
- Common::Sources::CSV
- Kiba::Extend::Sources::CSV
show all
- Extended by:
- Lookupable, Sourceable
- Defined in:
- lib/kiba/extend/sources/csv.rb
Overview
Extension of Kiba::Common::Sources::CSV
, adding methods that support
use as a source in registry entries
Class Method Summary
collapse
Methods included from Lookupable
is_lookupable?, lookup_options_key
Methods included from Sourceable
is_source?
#default_args, #default_file_options, #labeled_options, #options_key, #path_key, #requires_path?
Class Method Details
.default_file_options ⇒ Object
15
16
17
|
# File 'lib/kiba/extend/sources/csv.rb', line 15
def default_file_options
Kiba::Extend.csvopts
end
|
.lookup_options_key ⇒ Object
19
20
21
|
# File 'lib/kiba/extend/sources/csv.rb', line 19
def lookup_options_key
:csvopt
end
|
.options_key ⇒ Object
23
24
25
|
# File 'lib/kiba/extend/sources/csv.rb', line 23
def options_key
:csv_options
end
|
.path_key ⇒ Object
27
28
29
|
# File 'lib/kiba/extend/sources/csv.rb', line 27
def path_key
:filename
end
|
.requires_path? ⇒ Boolean
31
32
33
|
# File 'lib/kiba/extend/sources/csv.rb', line 31
def requires_path?
true
end
|