mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/erb.rb (ERB::Compiler#compile): output magic comment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17567 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
f32f40cc49
commit
8eb4988a03
3 changed files with 8 additions and 3 deletions
|
@ -1,3 +1,7 @@
|
|||
Wed Jun 25 09:31:11 2008 NARUSE, Yui <naruse@ruby-lang.org>
|
||||
|
||||
* lib/erb.rb (ERB::Compiler#compile): output magic comment.
|
||||
|
||||
Tue Jun 24 22:14:36 2008 Yusuke Endoh <mame@tsg.ne.jp>
|
||||
|
||||
* vm_eval.c (eval_string_with_cref): preserve parse_in_eval even if
|
||||
|
|
|
@ -518,6 +518,7 @@ class ERB
|
|||
|
||||
def compile(s)
|
||||
out = Buffer.new(self)
|
||||
out.push("# -*- coding: #{s.encoding} -*-")
|
||||
|
||||
content = ''
|
||||
scanner = make_scanner(s)
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#define RUBY_VERSION "1.9.0"
|
||||
#define RUBY_RELEASE_DATE "2008-06-24"
|
||||
#define RUBY_RELEASE_DATE "2008-06-25"
|
||||
#define RUBY_VERSION_CODE 190
|
||||
#define RUBY_RELEASE_CODE 20080624
|
||||
#define RUBY_RELEASE_CODE 20080625
|
||||
#define RUBY_PATCHLEVEL 0
|
||||
|
||||
#define RUBY_VERSION_MAJOR 1
|
||||
|
@ -9,7 +9,7 @@
|
|||
#define RUBY_VERSION_TEENY 0
|
||||
#define RUBY_RELEASE_YEAR 2008
|
||||
#define RUBY_RELEASE_MONTH 6
|
||||
#define RUBY_RELEASE_DAY 24
|
||||
#define RUBY_RELEASE_DAY 25
|
||||
|
||||
#ifdef RUBY_EXTERN
|
||||
RUBY_EXTERN const char ruby_version[];
|
||||
|
|
Loading…
Reference in a new issue