Class: Gearbox::Types::Native
- Inherits:
-
Object
- Object
- Gearbox::Types::Native
- Includes:
- Gearbox::Type
- Defined in:
- lib/gearbox/types/native.rb
Overview
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.
Class Method Summary collapse
Methods included from Gearbox::Type
Class Method Details
.serialize(value) ⇒ Object
17 18 19 |
# File 'lib/gearbox/types/native.rb', line 17 def self.serialize(value) value end |
.unserialize(value) ⇒ Object
13 14 15 |
# File 'lib/gearbox/types/native.rb', line 13 def self.unserialize(value) value end |