class Gearbox::Types::Native

This type is a native type, doing no conversion to Ruby types. The naked RDF::Value (URI, Node, Literal, etc) will be used, and no deserialization is done.

@see Gearbox::Type

Public Class Methods

serialize(value) click to toggle source
# File lib/gearbox/types/native.rb, line 17
def self.serialize(value)
  value
end
unserialize(value) click to toggle source
# File lib/gearbox/types/native.rb, line 13
def self.unserialize(value)
  value
end