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 230 def convert_type 231 Hash 232 end
db_type()
click to toggle source
# File lib/neo4j/shared/type_converters.rb 234 def db_type 235 String 236 end
to_db(value)
click to toggle source
# File lib/neo4j/shared/type_converters.rb 238 def to_db(value) 239 Psych.dump(value) 240 end
to_ruby(value)
click to toggle source
# File lib/neo4j/shared/type_converters.rb 242 def to_ruby(value) 243 Psych.load(value) 244 end