lib/xamplr/persistence.rb in hutch-xamplr-1.0.3 vs lib/xamplr/persistence.rb in hutch-xamplr-1.0.4

- old
+ new

@@ -638,10 +638,10 @@ new_xampl.pid = nil new_xampl.pid = pid @@persister.introduce(new_xampl) end - def represent(xampl, mentions) + def represent(xampl, mentions=[]) #puts "REPRESENT #{xampl} load needed: #{xampl.load_needed}" # return nil if xampl.load_needed case xampl.default_persister_format || @format when nil, :xml_format then return xampl.persist("", mentions)