Method: Axlsx::Drawing#images
- Defined in:
- lib/axlsx/drawing/drawing.rb
#images ⇒ Array
An array of image objects that are associated with this drawing's anchors
118 119 120 121 |
# File 'lib/axlsx/drawing/drawing.rb', line 118 def images images = @anchors.select { |a| a.object.is_a?(Pic) } images.map { |a| a.object } end |