Sha256: f2a2c1a0c50184fedae68e762135577cf06dc2a89c936fb10d925846ec5ca67d
Contents?: true
Size: 516 Bytes
Versions: 18
Compression:
Stored size: 516 Bytes
Contents
module KirguduBase module DynamicPages class EntryPropertiesBlockBuilder < ::KirguduBase::DynamicPages::Builder def initialize(&block) self.builder_options.merge!({ elements: [] }) super(&block) end def property(name, &block) self.builder_options[:elements] << ::KirguduBase::DynamicPages::EntryPropertyBuilder.new(name, &block).to_element end def to_elements self.builder_options[:elements] end end end end
Version data entries
18 entries across 18 versions & 1 rubygems