Sha256: 9af711098f82c89e0e631583ce6efea2819fbc59c8f6935b17d9fc3422ad6a90
Contents?: true
Size: 446 Bytes
Versions: 25
Compression:
Stored size: 446 Bytes
Contents
class Avo::Row include Avo::Concerns::IsResourceItem include Avo::Concerns::VisibleItems class_attribute :item_type, default: :row attr_reader :view attr_accessor :items_holder delegate :items, :add_item, to: :items_holder def initialize(view: nil) @view = view @items_holder = Avo::ItemsHolder.new end def hydrate(view: nil, **args) @view = view self end def has_items? @items.present? end end
Version data entries
25 entries across 25 versions & 1 rubygems