aboutsummaryrefslogtreecommitdiffstats
path: root/lib/yaml
diff options
context:
space:
mode:
authorryan <ryan@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-09-24 21:05:35 +0000
committerryan <ryan@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-09-24 21:05:35 +0000
commitff54193c835c97bebe5e6026a05a622ca5852071 (patch)
tree77e5179c5aa905923ae89e0e43232af60ada0a81 /lib/yaml
parent608267e04c11f4fc9b7823d95317a71be33a614c (diff)
downloadruby-ff54193c835c97bebe5e6026a05a622ca5852071.tar.gz
Fixed heredoc to play with emacs better. Added :startdoc: to fix broken rdoc processing
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25084 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/yaml')
-rw-r--r--lib/yaml/tag.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/yaml/tag.rb b/lib/yaml/tag.rb
index add3c49894..ac587165c2 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