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

+ (Object) index_as



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

def index_as
  String
end

+ (Object) to_java(value)



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

def to_java(value)
  value
end

+ (Object) to_ruby(value)



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

def to_ruby(value)
  value
end