Sha256: 1a3e327759618735b521e406b2b1ebe53dc6565323de7b1cd75743c9c369c083
Contents?: true
Size: 515 Bytes
Versions: 23
Compression:
Stored size: 515 Bytes
Contents
# frozen_string_literal: true require_relative 'concerns/slider' module Quby module Compiler module Entities module Questions class IntegerQuestion < Question include Concerns::Slider def as_json(options = {}) super.merge( minimum: minimum, maximum: maximum ) end def size @size || 30 end def step 1 end end end end end end
Version data entries
23 entries across 23 versions & 1 rubygems