class Neo4j::Shared::TypeConverters::YAMLConverter
Converts hash to/from YAML
Public Class Methods
convert_type()
click to toggle source
# File lib/neo4j/shared/type_converters.rb 227 def convert_type 228 Hash 229 end
db_type()
click to toggle source
# File lib/neo4j/shared/type_converters.rb 231 def db_type 232 String 233 end
to_db(value)
click to toggle source
# File lib/neo4j/shared/type_converters.rb 235 def to_db(value) 236 Psych.dump(value) 237 end
to_ruby(value)
click to toggle source
# File lib/neo4j/shared/type_converters.rb 239 def to_ruby(value) 240 Psych.load(value) 241 end