# File htree/leaf.rb, line 48 def ProcIns.new(target, content) content = content.gsub(/\?>/, '? >') if content new! target, content end
# File htree/parse.rb, line 388 def ProcIns.parse(raw_string) unless /\A#{Pat::XmlProcIns_C}\z/ =~ raw_string raise HTree::Error, "cannot recognize as processing instruction: #{raw_string.inspect}" end target = $1 content = $2 result = ProcIns.new(target, content) result.raw_string = raw_string result end
Generated with the Darkfish Rdoc Generator 2.