Sha256: ad7f7b61d4d37947dc61ed737ca7951af31062bef67c787275761d953e3bd699
Contents?: true
Size: 461 Bytes
Versions: 23
Compression:
Stored size: 461 Bytes
Contents
module Avo module Fields class TrixField < BaseField attr_reader :always_show attr_reader :attachments_disabled attr_reader :attachment_key def initialize(id, **args, &block) super(id, **args, &block) hide_on :index @always_show = args[:always_show] || false @attachments_disabled = args[:attachments_disabled] || false @attachment_key = args[:attachment_key] end end end end
Version data entries
23 entries across 23 versions & 1 rubygems