[前][次][番号順一覧][スレッド一覧]

ruby-changes:26522

From: zzak <ko1@a...>
Date: Sun, 23 Dec 2012 16:13:17 +0900 (JST)
Subject: [ruby-changes:26522] zzak:r38573 (trunk): * lib/erb.rb: typos for ERB::new link

zzak	2012-12-23 16:13:07 +0900 (Sun, 23 Dec 2012)

  New Revision: 38573

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=38573

  Log:
    * lib/erb.rb: typos for ERB::new link

  Modified files:
    trunk/ChangeLog
    trunk/lib/erb.rb

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 38572)
+++ ChangeLog	(revision 38573)
@@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Sun Dec 23 16:13:00 2012  Zachary Scott  <zachary@z...>
+
+	* lib/erb.rb: typos for ERB::new link
+
 Sun Dec 23 16:06:00 2012  Zachary Scott  <zachary@z...>
 
 	* lib/erb.rb: Document ERB::new trim_mode '-' for lines ending in -%>
Index: lib/erb.rb
===================================================================
--- lib/erb.rb	(revision 38572)
+++ lib/erb.rb	(revision 38573)
@@ -686,7 +686,7 @@ class ERB https://github.com/ruby/ruby/blob/trunk/lib/erb.rb#L686
       Scanner.make_scanner(src, @trim_mode, @percent)
     end
 
-    # Construct a new compiler using the trim_mode. See ERB#new for available
+    # Construct a new compiler using the trim_mode. See ERB::new for available
     # trim modes.
     def initialize(trim_mode)
       @percent, @trim_mode = prepare_trim_mode(trim_mode)
@@ -812,9 +812,9 @@ class ERB https://github.com/ruby/ruby/blob/trunk/lib/erb.rb#L812
   attr_accessor :filename
 
   #
-  # Can be used to set _eoutvar_ as described in ERB#new.  It's probably easier
-  # to just use the constructor though, since calling this method requires the
-  # setup of an ERB _compiler_ object.
+  # Can be used to set _eoutvar_ as described in ERB::new.  It's probably
+  # easier to just use the constructor though, since calling this method
+  # requires the setup of an ERB _compiler_ object.
   #
   def set_eoutvar(compiler, eoutvar = '_erbout')
     compiler.put_cmd = "#{eoutvar}.concat"
@@ -830,8 +830,8 @@ class ERB https://github.com/ruby/ruby/blob/trunk/lib/erb.rb#L830
 
   #
   # Executes the generated ERB code to produce a completed template, returning
-  # the results of that code.  (See ERB#new for details on how this process can
-  # be affected by _safe_level_.)
+  # the results of that code.  (See ERB::new for details on how this process
+  # can be affected by _safe_level_.)
   #
   # _b_ accepts a Binding or Proc object which is used to set the context of
   # code evaluation.

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]