Sha256: 1d3ce9b828cc2d7cc93b8a24997b2363f5d09788c9ffe3fc636b03817248e321
Contents?: true
Size: 606 Bytes
Versions: 38
Compression:
Stored size: 606 Bytes
Contents
# frozen_string_literal: true module Quby module Compiler module Entities module Charting class Plottable < Struct.new(:key, :label, :plotted_key, :questionnaire_key, :global) def initialize(key, options = {}) key = key label = options[:label] plotted_key = options.fetch(:plotted_key) { :value } global = options[:global] questionnaire_key = options[:questionnaire_key] super(key, label, plotted_key, questionnaire_key, global) end end end end end end
Version data entries
38 entries across 38 versions & 1 rubygems