Sha256: c720eaf8a3aae4096791bd560f42cfff3d29130c7be3215c3359029624edc50c
Contents?: true
Size: 591 Bytes
Versions: 418
Compression:
Stored size: 591 Bytes
Contents
module Avo module Fields class MarkdownField < BaseField attr_reader :options def initialize(id, **args, &block) super(id, **args, &block) hide_on :index @always_show = args[:always_show].present? ? args[:always_show] : false @height = args[:height].present? ? args[:height].to_s : "auto" @spell_checker = args[:spell_checker].present? ? args[:spell_checker] : false @options = { spell_checker: @spell_checker, always_show: @always_show, height: @height } end end end end
Version data entries
418 entries across 418 versions & 1 rubygems