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