lib/origami/page.rb in origami-2.0.2 vs lib/origami/page.rb in origami-2.0.3
- old
+ new
@@ -161,10 +161,10 @@
name ||= new_id(type)
target = self.is_a?(Resources) ? self : (self.Resources ||= Resources.new)
rsrc_dict = (target[type] and target[type].solve) || (target[type] = Dictionary.new)
- rsrc_dict[name] = rsrc
+ rsrc_dict[name.to_sym] = rsrc
name
end
#