Sha256: b98027a5e68383a7dc93ee62a458859e59a087a8d0b6fb052d3b09d30c1abc8f
Contents?: true
Size: 473 Bytes
Versions: 67
Compression:
Stored size: 473 Bytes
Contents
module Dryml::Parser class Elements < REXML::Elements # Override to ensure DRYML elements are created def add(element=nil) rv = nil if element.nil? Dryml::Parser::Element.new("", self, @element.context) elsif not element.kind_of?(Element) Dryml::Parser::Element.new(element, self, @element.context) else @element << element element.context = @element.context element end end end end
Version data entries
67 entries across 67 versions & 1 rubygems