lib/thinreports/generator/pdf/document/draw_shape.rb in thinreports-0.10.1 vs lib/thinreports/generator/pdf/document/draw_shape.rb in thinreports-0.10.2

- old
+ new

@@ -3,10 +3,9 @@ module Thinreports module Generator class PDF module DrawShape # @param [Thinreports::Core::Shape::TextBlock::Internal] shape - # rubocop:disable Metrics/AbcSize def draw_shape_tblock(shape) x, y, w, h = shape.format.attributes.values_at('x', 'y', 'width', 'height') content = shape.real_value.to_s return if content.empty?