lib/axlsx/drawing/pic.rb in axlsx-1.0.17 vs lib/axlsx/drawing/pic.rb in axlsx-1.0.18

- old
+ new

@@ -37,9 +37,10 @@ # @option options [Array] start_at # @option options [Intger] width # @option options [Intger] height def initialize(anchor, options={}) @anchor = anchor + @hyperlink = nil @anchor.drawing.worksheet.workbook.images << self options.each do |o| self.send("#{o[0]}=", o[1]) if self.respond_to? "#{o[0]}=" end start_at(*options[:start_at]) if options[:start_at]