Module: BatchExperiment::FirstLineExtractor
- Extended by:
- Extractor
- Defined in:
- lib/batch_experiment/sample_extractors.rb
Class Method Summary
collapse
Methods included from Extractor
extract, extract_from_lines, get_field, get_hfield, names
Class Method Details
10
11
12
13
14
15
|
# File 'lib/batch_experiment/sample_extractors.rb', line 10
def self.(lines)
[ (lines[0] or ''),
.get_field(lines, 'ext_time'),
.get_field(lines, 'ext_mem')
]
end
|
.names ⇒ Object
6
7
8
|
# File 'lib/batch_experiment/sample_extractors.rb', line 6
def self.names
['first line', 'ext_time', 'ext_mem']
end
|