Sha256: 038a8471f584d120d07cb271877aaa83a475921f2f880abd81d311c0a4558178
Contents?: true
Size: 619 Bytes
Versions: 47
Compression:
Stored size: 619 Bytes
Contents
# frozen_string_literal: true module Satis module Info class Component < Satis::ApplicationComponent renders_many :items, lambda { |*args| args.last.merge!(group: group) component = Satis::InfoItem::Component.new(*args) component.original_view_context = original_view_context component } attr_reader :group, :options def initialize(group: :main, **options) super @group = group @options = options end end end end
Version data entries
47 entries across 47 versions & 1 rubygems