Sha256: ac43e6743872dbc03583af48ca7a8f129e9e930f7c549a8784d4554ec07dfd07
Contents?: true
Size: 1010 Bytes
Versions: 3
Compression:
Stored size: 1010 Bytes
Contents
module KirguduBase class DynamicPages::ManagementSettingsBuilder < ::KirguduBase::DynamicPages::Builder def initialize(name, &block) self.builder_options[:item_class] = nil self.builder_options[:container_class] = nil self.builder_options[:entry_class] = nil self.builder_options[:container_id_property] = nil self.builder_options[:entry_id_property] = nil self.builder_options[:name] = name super(&block) end def item_class(value) self.builder_options[:item_class] = value end def container_class(value) self.builder_options[:container_class] = value end def entry_class(value) self.builder_options[:entry_class] = value end def container_id_property(value) self.builder_options[:container_id_property] = value end def entry_id_property(value) self.builder_options[:entry_id_property] = value end def to_element element = ::KirguduBase::DynamicPages::ManagementSettings.new self.build_element(element) element end end end
Version data entries
3 entries across 3 versions & 1 rubygems