Commit Graph

8 Commits

Author SHA1 Message Date
usa c48c31a528 * golf_prelude.rb (Integer#each): use alias simply.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14755 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-28 04:59:00 +00:00
knu 7ad2d4cc9a * golf_prelude.rb (Object.const_missing): No need to delegate to
superclass.  Just raise a NameError when none matches.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14754 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-28 04:46:56 +00:00
usa 18ef0fef15 * 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
2007-12-28 02:39:51 +00:00
usa ec12be8574 * golf_prelude.rb (Object.quine): get the script itself.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14748 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-28 02:18:05 +00:00
knu f1ddd69d7b * golf_prelude.rb (Object.const_missing): Auto-complete constants.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14747 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-28 01:07:21 +00:00
usa b8f8c75579 * golf_prelude.rb (Integer): Integer is now enumerable on goruby.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14745 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-27 16:47:58 +00:00
usa eadfbddd93 * golf_prelude.rb (h): add new method for all golfers.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14683 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-25 07:42:53 +00:00
nobu 4496da18a8 * trunk/common.mk, goruby.c, golf_prelude.rb: for golfers.
* trunk/main.c (main): hook for embedding applications.

* trunk/tool/compile_prelude.rb: can change initialize function name.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14676 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-25 07:04:30 +00:00