diff options
| author | ryan <ryan@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-09-24 21:05:35 +0000 |
|---|---|---|
| committer | ryan <ryan@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-09-24 21:05:35 +0000 |
| commit | ee18766662a2c0f4f047d7559a8a800a1efd160b (patch) | |
| tree | 77e5179c5aa905923ae89e0e43232af60ada0a81 | |
| parent | 60346e250efb6e291cb8516a427dbf8c050478d9 (diff) | |
| download | ruby-ee18766662a2c0f4f047d7559a8a800a1efd160b.tar.gz ruby-ee18766662a2c0f4f047d7559a8a800a1efd160b.tar.xz ruby-ee18766662a2c0f4f047d7559a8a800a1efd160b.zip | |
Fixed heredoc to play with emacs better. Added :startdoc: to fix broken rdoc processing
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25084 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
| -rw-r--r-- | lib/yaml/tag.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/yaml/tag.rb b/lib/yaml/tag.rb index add3c4989..ac587165c 100644 --- a/lib/yaml/tag.rb +++ b/lib/yaml/tag.rb @@ -58,7 +58,7 @@ class Module # 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 @@ class Module 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 @@ class Module def yaml_tag_read_class( name ) name end + # :startdoc: end |
