Sha256: 14375d21f6ef4eda4d31b8862723e6a2054da89fe01e216498db3736602b946e
Contents?: true
Size: 447 Bytes
Versions: 4
Compression:
Stored size: 447 Bytes
Contents
# frozen_string_literal: true module Satis module InfoItem class Component < Satis::ApplicationComponent attr_reader :options, :name, :icon, :group def initialize(name, *args, &block) super @name = name @args = args @options = args.extract_options! @group = options[:group] @icon = options[:icon] @placeholder = options[:placeholder] || '—' end end end end
Version data entries
4 entries across 4 versions & 1 rubygems