diff options
author | zzak <zzak@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-12-23 07:13:07 +0000 |
---|---|---|
committer | zzak <zzak@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-12-23 07:13:07 +0000 |
commit | cd6139cacdef549b6eda975d55be80a9cf37fb4e (patch) | |
tree | 05afb78c3c46ba02ef932ec8ec0e8c88548a3f94 /lib/erb.rb | |
parent | 4fa9e3307dd3b2cf3afea278a833a5d05ddb45de (diff) | |
download | ruby-cd6139cacdef549b6eda975d55be80a9cf37fb4e.tar.gz |
* lib/erb.rb: typos for ERB::new link
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38573 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/erb.rb')
-rw-r--r-- | lib/erb.rb | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/erb.rb b/lib/erb.rb index a73041f69a..b1c200af13 100644 --- a/lib/erb.rb +++ b/lib/erb.rb @@ -686,7 +686,7 @@ class ERB 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 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 # # 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. |