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

Version Path
kirgudu_base-0.0.21 app/models/kirgudu_base/dynamic_pages/form_tab_builder.rb
kirgudu_base-0.0.19 app/models/kirgudu_base/dynamic_pages/form_tab_builder.rb
kirgudu_base-0.0.18 app/models/kirgudu_base/dynamic_pages/form_tab_builder.rb
kirgudu_base-0.0.17 app/models/kirgudu_base/dynamic_pages/form_tab_builder.rb
kirgudu_base-0.0.16 app/models/kirgudu_base/dynamic_pages/form_tab_builder.rb
kirgudu_base-0.0.15 app/models/kirgudu_base/dynamic_pages/form_tab_builder.rb
kirgudu_base-0.0.14 app/models/kirgudu_base/dynamic_pages/form_tab_builder.rb
kirgudu_base-0.0.13 app/models/kirgudu_base/dynamic_pages/form_tab_builder.rb
kirgudu_base-0.0.12 app/models/kirgudu_base/dynamic_pages/form_tab_builder.rb
kirgudu_base-0.0.11 app/models/kirgudu_base/dynamic_pages/form_tab_builder.rb
kirgudu_base-0.0.10 app/models/kirgudu_base/dynamic_pages/form_tab_builder.rb
kirgudu_base-0.0.9 app/models/kirgudu_base/dynamic_pages/form_tab_builder.rb
kirgudu_base-0.0.8 app/models/kirgudu_base/dynamic_pages/form_tab_builder.rb
kirgudu_base-0.0.7 app/models/kirgudu_base/dynamic_pages/form_tab_builder.rb
kirgudu_base-0.0.6 app/models/kirgudu_base/dynamic_pages/form_tab_builder.rb
kirgudu_base-0.0.5 app/models/kirgudu_base/dynamic_pages/form_tab_builder.rb
kirgudu_base-0.0.4 app/models/kirgudu_base/dynamic_pages/form_tab_builder.rb
kirgudu_base-0.0.3 app/models/kirgudu_base/dynamic_pages/form_tab_builder.rb