Class: RDFgrid::Processor

Inherits:
Object
  • Object
show all
Defined in:
lib/rdfgrid/processor.rb

Direct Known Subclasses

Mapper, Reducer

Constant Summary

SEPARATOR =
"\t"

Class Method Summary

Instance Method Summary

Constructor Details

- (Processor) initialize(options = {})

A new instance of Processor

Parameters:

  • (Hash{Symbol => Object}) options (defaults to: {})


15
16
17
# File 'lib/rdfgrid/processor.rb', line 15

def initialize(options = {})
  @options = options
end

Class Method Details

+ process!(options = {}, &block)

This method returns an undefined value.

Parameters:

  • (Hash{Symbol => Object}) options (defaults to: {})


9
10
11
# File 'lib/rdfgrid/processor.rb', line 9

def self.process!(options = {}, &block)
  process($stdin, options, &block)
end