Sha256: 39f0a1cd50dd3a048c8704b12d3110d6cd8328b3183f6afc5f21f328bd5d5ec6

Contents?: true

Size: 387 Bytes

Versions: 2

Compression:

Stored size: 387 Bytes

Contents

require 'xc_metrics_aggregator/formatter/formatter'

module XcMetricsAggregator
    class Structure
        def format(formatter)
            formatter.format(self)
        end
    end

    class TableStructure < Structure
        attr_accessor :title, :headings, :rows
    end

    class ChartStructure < Structure
        attr_accessor :series, :samples, :unit, :dscription
    end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
xc_metrics_aggregator-0.2.0 lib/xc_metrics_aggregator/structure/structure.rb
xc_metrics_aggregator-0.1.0 lib/xc_metrics_aggregator/structure/structure.rb