Sha256: 757577b0053cc43e988f0c97fbf38eecc649c5ac689ffedafc3e6e46f67b3a2d
Contents?: true
Size: 590 Bytes
Versions: 23
Compression:
Stored size: 590 Bytes
Contents
module Avo module Fields class EasyMdeField < 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
23 entries across 23 versions & 1 rubygems