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