Sha256: 00c678994f347cfa5c87f430cf647ae533e29655fc713095d454e4498bbde1e2
Contents?: true
Size: 473 Bytes
Versions: 19
Compression:
Stored size: 473 Bytes
Contents
require File.dirname(__FILE__) + "/node_visitor" module Glimmer module XML class NameSpaceVisitor < NodeVisitor def initialize(name_space_name) @name_space_name = name_space_name end def process_before_children(node) return if node.is_a?(String) node.name_space = Node.new(nil, @name_space_name, nil) if node and !node.name_space end def process_after_children(node) #NOOP end end end end
Version data entries
19 entries across 19 versions & 1 rubygems