Class: RDFgrid::Mapper Abstract

Inherits:
Processor show all
Defined in:
lib/rdfgrid/mapper.rb

Overview

This class is abstract.

Direct Known Subclasses

Mapper::LineMapper, Mapper::StatementMapper

Defined Under Namespace

Classes: LineMapper, StatementMapper

Constant Summary

Constants inherited from Processor

SEPARATOR

Instance Method Summary

Methods inherited from Processor

#initialize, process!

Constructor Details

This class inherits a constructor from RDFgrid::Processor

Instance Method Details

- call(key, value, &block)

This method returns an undefined value.

Parameters:

  • (Object) key
  • (Object) value


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

def call(key, value, &block)
  process(value, &block)
end

- process(value, &block)

This method is abstract.

This method returns an undefined value.

Parameters:

  • (Object) value

Raises:

  • (NotImplementedError)


17
18
19
# File 'lib/rdfgrid/mapper.rb', line 17

def process(value, &block)
  raise NotImplementedError
end