diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-01-29 05:14:31 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-01-29 05:14:31 +0000 |
commit | 40809505e8499b3da96a314c5f2f59cf6ae5299c (patch) | |
tree | cbc2b336ac926526afbc094278179bff2ae31327 /ChangeLog | |
parent | 97a1c88a0376eeeb5f1651696f235ca12e157b3c (diff) | |
download | ruby-40809505e8499b3da96a314c5f2f59cf6ae5299c.tar.gz |
erb.rb: duplicated magic comments [Fix GH-1229]
* lib/erb.rb (ERB#def_method): insert def line just before the
first non-comment and non-empty line, not to leave duplicated
and stale magic comments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53684 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -1,3 +1,9 @@ +Fri Jan 29 14:13:28 2016 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * lib/erb.rb (ERB#def_method): insert def line just before the + first non-comment and non-empty line, not to leave duplicated + and stale magic comments. + Fri Jan 29 11:13:33 2016 Jeremy Evans <code@jeremyevans.net> * lib/erb.rb (ERB#set_eoutvar): explicitly make mutable string as |