Sha256: 04055fee3c1fefc7b2b79f0198096bc9d78f02617344a76a70b230ee3665f010
Contents?: true
Size: 476 Bytes
Versions: 3
Compression:
Stored size: 476 Bytes
Contents
# frozen_string_literal: true module Quby module Questionnaires module Entities class Textvar < Struct.new(:key, :description, :default, :depends_on_flag) # rubocop:disable ParameterLists def initialize(key:, description:, default: nil, depends_on_flag: nil) default = "{{#{key}}}" unless default super(key, description, default, depends_on_flag) end # rubocop:enable ParameterLists end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
quby-5.6.5 | lib/quby/questionnaires/entities/textvar.rb |
quby-5.6.3 | lib/quby/questionnaires/entities/textvar.rb |
quby-5.6.2 | lib/quby/questionnaires/entities/textvar.rb |