Sha256: 82de7936c80e7500d40e0b0d3cc202fb7167c8062bfcca1fa3737b7fbb01ba69
Contents?: true
Size: 467 Bytes
Versions: 8
Compression:
Stored size: 467 Bytes
Contents
class Avo::PanelBuilder class << self def parse_block(**args, &block) Docile.dsl_eval(new(**args), &block).build end end delegate :field, to: :items_holder delegate :items, to: :items_holder attr_reader :items_holder def initialize(name: nil, **args) @panel = Avo::Panel.new(name: name, **args) @items_holder = Avo::ItemsHolder.new end # Fetch the tab def build @panel.items_holder = @items_holder @panel end end
Version data entries
8 entries across 8 versions & 1 rubygems