Class: Neo4j::TypeConverters::DefaultConverter

Inherits:
Object
  • Object
show all
Defined in:
lib/neo4j/type_converters/type_converters.rb

Overview

The default converter to use if there isn't a specific converter for the type

Class Method Summary collapse

Class Method Details

.index_asObject



53
54
55
# File 'lib/neo4j/type_converters/type_converters.rb', line 53

def index_as
  String
end

.to_java(value) ⇒ Object



45
46
47
# File 'lib/neo4j/type_converters/type_converters.rb', line 45

def to_java(value)
  value
end

.to_ruby(value) ⇒ Object



49
50
51
# File 'lib/neo4j/type_converters/type_converters.rb', line 49

def to_ruby(value)
  value
end