Sha256: 43ee3f0af87b3ad7d383bd03ce90e30e4876fa92e59a474fd1b65d4aec303773

Contents?: true

Size: 285 Bytes

Versions: 10

Compression:

Stored size: 285 Bytes

Contents

# frozen_string_literal: true

module Quby
  module Compiler
    module Entities
      module Questions
        class RadioQuestion < Question
          def as_json(options = {})
            super.merge(children: @options.as_json)
          end
        end
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
quby-compiler-0.5.9 lib/quby/compiler/entities/questions/radio_question.rb
quby-compiler-0.5.8 lib/quby/compiler/entities/questions/radio_question.rb
quby-compiler-0.5.7 lib/quby/compiler/entities/questions/radio_question.rb
quby-compiler-0.5.6 lib/quby/compiler/entities/questions/radio_question.rb
quby-compiler-0.5.5 lib/quby/compiler/entities/questions/radio_question.rb
quby-compiler-0.5.4 lib/quby/compiler/entities/questions/radio_question.rb
quby-compiler-0.5.3 lib/quby/compiler/entities/questions/radio_question.rb
quby-compiler-0.5.2 lib/quby/compiler/entities/questions/radio_question.rb
quby-compiler-0.5.1 lib/quby/compiler/entities/questions/radio_question.rb
quby-compiler-0.5.0 lib/quby/compiler/entities/questions/radio_question.rb