Sha256: 4660bf9a6461d56064069d5d4990a82fa367c1fd0503dc54f01c670c37178928
Contents?: true
Size: 394 Bytes
Versions: 4
Compression:
Stored size: 394 Bytes
Contents
module BuildMaster class Text def initialize(properties) @properties = properties end def process(target, template, source) property = template.attribute_value!('property') value = @properties[property] raise TemplateError.new(template), "property value for '#{property}' not found" unless value target.add(REXML::Text.new(value)) end end end
Version data entries
4 entries across 4 versions & 1 rubygems