class ROF::Translators::JsonldToRof::PredicateObjectHandler::LiteralPredicateObjectHandler

@api private

Attributes

accumulator[R]
object[R]
options[R]
predicate[R]

Public Class Methods

new(predicate, object, accumulator, options) click to toggle source
# File lib/rof/translators/jsonld_to_rof/predicate_object_handler.rb, line 110
def initialize(predicate, object, accumulator, options)
  @predicate = predicate
  @object = object
  @accumulator = accumulator
  @options = options
end

Public Instance Methods

call() click to toggle source
# File lib/rof/translators/jsonld_to_rof/predicate_object_handler.rb, line 117
def call
  PredicateHandler.call(predicate, object, accumulator, options[:blank_node])
  accumulator
end