lib/pump/xml/value.rb in pump-0.1.0 vs lib/pump/xml/value.rb in pump-0.2.0
- old
+ new
@@ -16,10 +16,10 @@
private
def cast
if options[:typecast]
".#{options[:typecast]}"
- elsif !options[:skip_encoding]
+ elsif !options[:xmlsafe]
'.to_s.encode(:xml => :text)'
end
end
end
end
\ No newline at end of file