Class: RDFgrid::Reducer::MinReducer

Inherits:
show all
Defined in:
lib/rdfgrid/reducer.rb

Constant Summary

Constants inherited from RDFgrid::Processor

SEPARATOR

Instance Method Summary

Methods inherited from

#call, #parser, process

Methods inherited from RDFgrid::Processor

#initialize, process!

Constructor Details

This class inherits a constructor from RDFgrid::Processor

Instance Method Details

- (Object) process(values) {|values.map(&parser)| ... }

Yields:

  • (values.map(&parser))


67
68
69
# File 'lib/rdfgrid/reducer.rb', line 67

def process(values)
  yield values.map(&parser).min
end