Sha256: 4b929c84976d94b111dc17902c6b60ac46258e7ca5c1c21c5b6f16ada87d7d29
Contents?: true
Size: 397 Bytes
Versions: 6
Compression:
Stored size: 397 Bytes
Contents
class ParseTag # :nodoc: def initialize(&b) @block = b end def on_parse(&b) @block = b end def to_s @block.call(self) end end class ParseContainerTag < ParseTag # :nodoc: attr_accessor :name, :attributes, :contents def initialize(name = "", attributes = {}, contents = [], &b) @name, @attributes, @contents = name, attributes, contents super(&b) end end
Version data entries
6 entries across 6 versions & 2 rubygems