Sha256: 52002ff4dc12abc1edfa3f7216f3c4bec9c197451a39337700e8e2c695b345a6
Contents?: true
Size: 390 Bytes
Versions: 82
Compression:
Stored size: 390 Bytes
Contents
module Avo module Fields class TextField < BaseField attr_reader :link_to_resource attr_reader :as_html def initialize(id, **args, &block) super(id, **args, &block) @link_to_resource = args[:link_to_resource].present? ? args[:link_to_resource] : false @as_html = args[:as_html].present? ? args[:as_html] : false end end end end
Version data entries
82 entries across 82 versions & 1 rubygems