lib/paper_trail/serializers/yaml.rb in paper_trail-3.0.0.beta1 vs lib/paper_trail/serializers/yaml.rb in paper_trail-3.0.0.rc1

- old
+ new

@@ -1,17 +1,17 @@ require 'yaml' module PaperTrail module Serializers - module Yaml + module YAML extend self # makes all instance methods become module methods as well def load(string) - YAML.load string + ::YAML.load string end def dump(object) - YAML.dump object + ::YAML.dump object end end end end