lib/data/render.rb in pg_graph-0.3.3 vs lib/data/render.rb in pg_graph-0.3.4
- old
+ new
@@ -33,10 +33,10 @@
# puts " format: #{format.inspect}"
# puts " ids: #{ids.inspect}"
# puts " delete: #{delete.inspect}"
# puts " files: #{files.inspect}"
constrain database, Database
- constrain ids, String => Integer
+ constrain ids, { String => Integer }
@database = database
self.format = format
(@ids = ids.dup).default = 0
@delete = delete
@files = files