Sha256: e7ee62049bb2274edb1c8676bdfbc3b7b0094b99545a9eb68273513d613a7330

Contents?: true

Size: 566 Bytes

Versions: 5

Compression:

Stored size: 566 Bytes

Contents

# frozen_string_literal: true

module Thinreports
  module BasicReport
    module Core
      module Shape
        module StackView
          class Format < Basic::Format
            attr_reader :rows

            def initialize(*)
              super
              initialize_rows
            end

            private

            def initialize_rows
              @rows = []
              attributes['rows'].each do |row|
                @rows << StackView::RowFormat.new(row)
              end
            end
          end
        end
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
thinreports-0.14.2 lib/thinreports/basic_report/core/shape/stack_view/format.rb
thinreports-0.14.1 lib/thinreports/basic_report/core/shape/stack_view/format.rb
thinreports-0.14.0 lib/thinreports/basic_report/core/shape/stack_view/format.rb
thinreports-0.13.1 lib/thinreports/basic_report/core/shape/stack_view/format.rb
thinreports-0.13.0 lib/thinreports/basic_report/core/shape/stack_view/format.rb