Sha256: 77d6c157a702608856a9a8ba3b56ff7895fe32ac8046460937d997a8d2135f59
Contents?: true
Size: 1.03 KB
Versions: 17
Compression:
Stored size: 1.03 KB
Contents
module KirguduBase module DynamicPages class 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 end
Version data entries
17 entries across 17 versions & 1 rubygems