summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authordrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-05-24 23:22:40 +0000
committerdrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-05-24 23:22:40 +0000
commit373ea89e17894f33a0d6ba16a4b4d6f2ebd91ec6 (patch)
tree896a56b0b772c41de0dbe78b09fdff3b9abbaf3f /lib
parentc5c245554df58577560571150189a592da7d0640 (diff)
* lib/erb.rb: Hide documentation for implementation details of ERB.
[Ruby 1.9 - Bug #4694] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31724 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r--lib/erb.rb9
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/erb.rb b/lib/erb.rb
index c7b90e29c1..a05a85653c 100644
--- a/lib/erb.rb
+++ b/lib/erb.rb
@@ -335,7 +335,7 @@ class ERB
# 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 @@ end
# 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 @@ class ERB
#
# <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