Sha256: 1babb60c6795496e547ec48729c5782ee1789832c2eb3b7cf220afb2e9287582
Contents?: true
Size: 474 Bytes
Versions: 24
Compression:
Stored size: 474 Bytes
Contents
require "rd/element" require "rd/document-struct" require "rd/visitor" module RD class DummyElement < Element attr_accessor :parent def children [] end def each_element yield(self) end def accept(visitor) "dummy" end def to_label " label " end end DummyStruct = DocumentStructure.new end class DummyVisitor < RD::Visitor def method_missing(method, *args) [method.to_s, args] end end
Version data entries
24 entries across 23 versions & 2 rubygems