Sha256: e796e1f206cf0c5db2d769ea0689df637966629eb42f9200d4f3179638c3ee36
Contents?: true
Size: 384 Bytes
Versions: 5
Compression:
Stored size: 384 Bytes
Contents
module Avo module Fields class TextField < BaseField def initialize(name, **args, &block) @defaults = { partial_name: 'text-field', computable: true, }.merge(@defaults || {}) super(name, **args, &block) @link_to_resource = args[:link_to_resource].present? ? args[:link_to_resource] : false end end end end
Version data entries
5 entries across 5 versions & 1 rubygems