diff options
| author | Randy Morgan <[email protected]> | 2012-02-14 20:01:12 +0900 |
|---|---|---|
| committer | Randy Morgan <[email protected]> | 2012-02-14 20:01:12 +0900 |
| commit | 501b9f80ec89cbdd01890ba6e66b3fbc849a708a (patch) | |
| tree | 67b2a0affb768f8cd052aa5b687a531e2fc83906 /lib/axlsx/drawing/pic.rb | |
| parent | 8bcc77953262fd934bd4b84daf53d946c576193b (diff) | |
| download | caxlsx-501b9f80ec89cbdd01890ba6e66b3fbc849a708a.tar.gz caxlsx-501b9f80ec89cbdd01890ba6e66b3fbc849a708a.zip | |
Stomp out all warnings.
"Method calls with expanded arrays require parentheses"
Thanks rspec - I didn't know that.
Diffstat (limited to 'lib/axlsx/drawing/pic.rb')
| -rw-r--r-- | lib/axlsx/drawing/pic.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/axlsx/drawing/pic.rb b/lib/axlsx/drawing/pic.rb index b922bcc4..754a7e35 100644 --- a/lib/axlsx/drawing/pic.rb +++ b/lib/axlsx/drawing/pic.rb @@ -39,6 +39,7 @@ module Axlsx # @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]}=" |
