class RubyEventStore::Serializers::YAML
Public Class Methods
Source
# File lib/ruby_event_store/serializers/yaml.rb, line 8 def self.dump(value) ::YAML.dump(value) end
Source
# File lib/ruby_event_store/serializers/yaml.rb, line 12 def self.load(serialized) ::YAML.respond_to?(:unsafe_load) ? ::YAML.unsafe_load(serialized) : ::YAML.load(serialized) end