Sha256: a6131d246ef2b418d8327bdb1d5b54950707828fc50c4a48cbc4ddfd4690ba89
Contents?: true
Size: 557 Bytes
Versions: 18
Compression:
Stored size: 557 Bytes
Contents
module KirguduBase module DynamicPages class FormTabBuilder < ::KirguduBase::DynamicPages::PageElementBuilder def initialize(name, &block) self.builder_options.merge!({ is_active: :false }) super(name, &block) end def is_active(value) self.builder_options[:is_active] = value end def to_tab element = ::KirguduBase::DynamicPages::FormTab.new self.build_element(element) self.validate_generated_element(element) element end end end end
Version data entries
18 entries across 18 versions & 1 rubygems