* 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
This commit is contained in:
parent
c5c245554d
commit
373ea89e17
@ -1,3 +1,8 @@
|
|||||||
|
Wed May 25 08:22:12 2011 Eric Hodel <drbrain@segment7.net>
|
||||||
|
|
||||||
|
* 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@ruby-lang.org>
|
Wed May 25 07:58:14 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
* lib/tempfile.rb (Tempfile.{mkdir,rmdir}): revert for backward
|
* lib/tempfile.rb (Tempfile.{mkdir,rmdir}): revert for backward
|
||||||
|
@ -335,7 +335,7 @@ class ERB
|
|||||||
# klass.new('It').get_it
|
# klass.new('It').get_it
|
||||||
#
|
#
|
||||||
# Good! See also ERB#def_method, ERB#def_module, and ERB#def_class.
|
# Good! See also ERB#def_method, ERB#def_module, and ERB#def_class.
|
||||||
class Compiler
|
class Compiler # :nodoc:
|
||||||
class PercentLine # :nodoc:
|
class PercentLine # :nodoc:
|
||||||
def initialize(str)
|
def initialize(str)
|
||||||
@value = str
|
@value = str
|
||||||
@ -894,7 +894,7 @@ end
|
|||||||
# ERB::Util
|
# ERB::Util
|
||||||
class ERB
|
class ERB
|
||||||
# A utility module for conversion routines, often handy in HTML generation.
|
# A utility module for conversion routines, often handy in HTML generation.
|
||||||
module Util
|
module Util # :nodoc:
|
||||||
public
|
public
|
||||||
#
|
#
|
||||||
# A utility method for escaping HTML tag characters in _s_.
|
# A utility method for escaping HTML tag characters in _s_.
|
||||||
@ -969,9 +969,10 @@ class ERB
|
|||||||
#
|
#
|
||||||
# <b>30</b>
|
# <b>30</b>
|
||||||
#
|
#
|
||||||
module DefMethod
|
module DefMethod # :nodoc:
|
||||||
public
|
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)
|
def def_erb_method(methodname, erb_or_fname)
|
||||||
if erb_or_fname.kind_of? String
|
if erb_or_fname.kind_of? String
|
||||||
fname = erb_or_fname
|
fname = erb_or_fname
|
||||||
|
Loading…
x
Reference in New Issue
Block a user