Sha256: 7c0f548182dd0958fd53fd9ad3364a68dc62131c0107b14d52a331bf7a611282

Contents?: true

Size: 235 Bytes

Versions: 8

Compression:

Stored size: 235 Bytes

Contents

module MobileWorkflow
  module Displayable
    module Steps
      module PieChart
        def mw_pie_chart_item(id: self.id, label:, value:)
          {id: id, label: label, value: value}.compact
        end
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
mobile_workflow-0.10.2 app/models/concerns/mobile_workflow/displayable/steps/pie_chart.rb
mobile_workflow-0.10.1 app/models/concerns/mobile_workflow/displayable/steps/pie_chart.rb
mobile_workflow-0.10.0 app/models/concerns/mobile_workflow/displayable/steps/pie_chart.rb
mobile_workflow-0.9.0 app/models/concerns/mobile_workflow/displayable/steps/pie_chart.rb
mobile_workflow-0.8.9 app/models/concerns/mobile_workflow/displayable/steps/pie_chart.rb
mobile_workflow-0.7.9 app/models/concerns/mobile_workflow/displayable/steps/pie_chart.rb
mobile_workflow-0.7.8 app/models/concerns/mobile_workflow/displayable/steps/pie_chart.rb
mobile_workflow-0.7.7 app/models/concerns/mobile_workflow/displayable/steps/pie_chart.rb