Sha256: ca7638f94858e332b35ff1b2d5d3671032776be3ce068f2fdeb55afbea7bffe2
Contents?: true
Size: 289 Bytes
Versions: 9
Compression:
Stored size: 289 Bytes
Contents
# frozen_string_literal: true class Avo::Index::FieldWrapperComponent < ViewComponent::Base def initialize(field: nil, dash_if_blank: true, **args) @field = field @dash_if_blank = dash_if_blank @classes = args[:class].present? ? args[:class] : '' @args = args end end
Version data entries
9 entries across 9 versions & 1 rubygems