Sha256: 2c711924a647fca9fae08f8e847dd5c958acd3c59dfa512c544d2078b5fedf45
Contents?: true
Size: 419 Bytes
Versions: 31
Compression:
Stored size: 419 Bytes
Contents
# frozen_string_literal: true module Koi module SummaryList class NumberComponent < Base def initialize(model, attribute, format: :admin, **) super(model, attribute, **) @format = format end def attribute_value number_to_human(raw_value) if raw_value.present? end def default_description_attributes { class: "number" } end end end end
Version data entries
31 entries across 31 versions & 1 rubygems