ruby-changes:19679
From: drbrain <ko1@a...>
Date: Wed, 25 May 2011 08:22:46 +0900 (JST)
Subject: [ruby-changes:19679] drbrain:r31724 (trunk): * lib/erb.rb: Hide documentation for implementation details of ERB.
drbrain 2011-05-25 08:22:40 +0900 (Wed, 25 May 2011) New Revision: 31724 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=31724 Log: * lib/erb.rb: Hide documentation for implementation details of ERB. [Ruby 1.9 - Bug #4694] Modified files: trunk/ChangeLog trunk/lib/erb.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 31723) +++ ChangeLog (revision 31724) @@ -1,3 +1,8 @@ +Wed May 25 08:22:12 2011 Eric Hodel <drbrain@s...> + + * lib/erb.rb: Hide documentation for implementation details of ERB. + [Ruby 1.9 - Bug #4694] + Wed May 25 07:58:14 2011 Nobuyoshi Nakada <nobu@r...> * lib/tempfile.rb (Tempfile.{mkdir,rmdir}): revert for backward Index: lib/erb.rb =================================================================== --- lib/erb.rb (revision 31723) +++ lib/erb.rb (revision 31724) @@ -335,7 +335,7 @@ # klass.new('It').get_it # # Good! See also ERB#def_method, ERB#def_module, and ERB#def_class. - class Compiler + class Compiler # :nodoc: class PercentLine # :nodoc: def initialize(str) @value = str @@ -894,7 +894,7 @@ # ERB::Util class ERB # A utility module for conversion routines, often handy in HTML generation. - module Util + module Util # :nodoc: public # # A utility method for escaping HTML tag characters in _s_. @@ -969,9 +969,10 @@ # # <b>30</b> # - module DefMethod + module DefMethod # :nodoc: public - # define _methodname_ as instance method of current module, using ERB object or eRuby file + # define _methodname_ as instance method of current module, using ERB + # object or eRuby file def def_erb_method(methodname, erb_or_fname) if erb_or_fname.kind_of? String fname = erb_or_fname -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/