From: Ryan Davis Date: 2009-09-25T06:10:50+09:00 Subject: Re: Ruby 1.9 rdoc never ends (Re: rdoc) On Sep 13, 2009, at 09:14 , James Britt wrote: > Ryan Davis wrote: > >> Huh. I've actually committed the fix before iirc. > > Yes, I know; it's amazing that it keeps returning. > > >> Point me in the right direction and I'll do it again. Or throw me a >> patch offlist. > > lib/yaml/tags.rb OK. Fixed up with the following patch. It'd be nice if we found someone to take over syck (at least for ruby-core if not in general) and to fold this patch in: Index: tag.rb =================================================================== --- tag.rb (revision 25048) +++ tag.rb (working copy) @@ -58,7 +58,7 @@ # taguris. def yaml_as( tag, sc = true ) verbose, $VERBOSE = $VERBOSE, nil - class_eval <<-"end;", __FILE__, __LINE__+1 + class_eval <<-"END", __FILE__, __LINE__+1 attr_writer :taguri def taguri if respond_to? :to_yaml_type @@ -73,7 +73,7 @@ end end def self.yaml_tag_subclasses?; #{ sc ? 'true' : 'false' }; end - end; + END YAML::tag_class tag, self ensure $VERBOSE = verbose @@ -88,4 +88,5 @@ def yaml_tag_read_class( name ) name end + # :startdoc: end