diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-12-28 02:39:51 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-12-28 02:39:51 +0000 |
commit | 18ef0fef154fa8dd31f21a7f9693e455c5b2e704 (patch) | |
tree | 96a4d423b8127213a55b0dd5d32abbf09c5217a5 /golf_prelude.rb | |
parent | ec12be85744493b78b6fc6ca299b10350a2592a1 (diff) | |
download | ruby-18ef0fef154fa8dd31f21a7f9693e455c5b2e704.tar.gz |
* golf_prelude.rb (Object.quine): need to join because SCRIPT_LINES__[]
returns an array of lines.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14749 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'golf_prelude.rb')
-rw-r--r-- | golf_prelude.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/golf_prelude.rb b/golf_prelude.rb index 18b9f1b8dc..03c0c6cceb 100644 --- a/golf_prelude.rb +++ b/golf_prelude.rb @@ -18,7 +18,7 @@ class Object end def quine(src = $0) - SCRIPT_LINES__[src] + SCRIPT_LINES__[src].join end end |