lib/markov_uuid/storage.rb in markov_uuid-0.0.6 vs lib/markov_uuid/storage.rb in markov_uuid-0.0.7

- old
+ new

@@ -31,12 +31,10 @@ def save file_klass.open(cache_file, "w"){|f| YAML.dump(@data, f) } end def open - file_klass.open(cache_file) do |f| - @data = YAML.load f - end + file_klass.open(cache_file) { |f| @data = YAML.load f } @data end def data