diff -wNc rdtool-0.6.11/rd2_ rdtool-0.6.11/rd2 *** rdtool-0.6.11/rd2_ Sat Feb 2 04:00:02 2002 --- rdtool-0.6.11/rd2 Sun Feb 9 00:42:26 2003 *************** *** 239,245 **** out = Kconv.kconv(out, Kconv::NAME2CONST[out_code], Kconv::AUTO) if out_code if output_file ! filename = output_file + "." + $Visitor.type::OUTPUT_SUFFIX file = open(filename, "w") file.print(out) file.close --- 239,245 ---- out = Kconv.kconv(out, Kconv::NAME2CONST[out_code], Kconv::AUTO) if out_code if output_file ! filename = output_file + "." + $Visitor.class::OUTPUT_SUFFIX file = open(filename, "w") file.print(out) file.close diff -wNc rdtool-0.6.11/rd/output-format-visitor.rb_ rdtool-0.6.11/rd/output-format-visitor.rb *** rdtool-0.6.11/rd/output-format-visitor.rb_ Tue Apr 17 02:26:32 2001 --- rdtool-0.6.11/rd/output-format-visitor.rb Sun Feb 9 00:28:40 2003 *************** *** 15,21 **** def initialize super ! @include_suffix = self.type::INCLUDE_SUFFIX.clone @filename = nil end --- 15,21 ---- def initialize super ! @include_suffix = self.class::INCLUDE_SUFFIX.clone @filename = nil end diff -wNc rdtool-0.6.11/rd/complex-list-item.rb_ rdtool-0.6.11/rd/complex-list-item.rb *** rdtool-0.6.11/rd/complex-list-item.rb_ Wed May 2 04:06:04 2001 --- rdtool-0.6.11/rd/complex-list-item.rb Sun Feb 9 00:30:48 2003 *************** *** 24,30 **** end def make_term(*args_of_new, &block) ! child = self.type::Term.new(*args_of_new) set_term(child) child.build(&block) if block_given? child --- 24,30 ---- end def make_term(*args_of_new, &block) ! child = self.class::Term.new(*args_of_new) set_term(child) child.build(&block) if block_given? child *************** *** 59,65 **** def inspect t = indent2(term.inspect) if term c = children.collect{|i| indent2(i.inspect)}.join("\n") ! "<#{self.type.name}>" + (term ? "\n" : "") + t.to_s + (c.empty? ? "" : "\n") + c end end # ComplexListItem --- 59,65 ---- def inspect t = indent2(term.inspect) if term c = children.collect{|i| indent2(i.inspect)}.join("\n") ! "<#{self.class.name}>" + (term ? "\n" : "") + t.to_s + (c.empty? ? "" : "\n") + c end end # ComplexListItem diff -wNc rdtool-0.6.11/rd/element.rb_ rdtool-0.6.11/rd/element.rb *** rdtool-0.6.11/rd/element.rb_ Wed May 2 04:17:42 2001 --- rdtool-0.6.11/rd/element.rb Sun Feb 9 00:31:36 2003 *************** *** 14,20 **** def inspect c = children.collect{|i| indent2(i.inspect)}.join("\n") ! "<#{self.type.name}>" + (c.empty? ? "" : "\n") + c end end # Element --- 14,20 ---- def inspect c = children.collect{|i| indent2(i.inspect)}.join("\n") ! "<#{self.class.name}>" + (c.empty? ? "" : "\n") + c end end # Element diff -wNc rdtool-0.6.11/rd/tree.rb_ rdtool-0.6.11/rd/tree.rb *** rdtool-0.6.11/rd/tree.rb_ Sat Feb 2 04:00:02 2002 --- rdtool-0.6.11/rd/tree.rb Sun Feb 9 00:31:20 2003 *************** *** 50,56 **** end def set_root(element) ! raise ArgumentError, "#{element.type} can't be root." unless @document_struct.is_valid?(self, element) @root = element element.parent = self --- 50,56 ---- end def set_root(element) ! raise ArgumentError, "#{element.class} can't be root." unless @document_struct.is_valid?(self, element) @root = element element.parent = self