Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Apr 19, 2009
  1. @yugui

    merges r22990 from trunk into ruby_1_9_1.

    yugui authored
    --
    make ./goruby -e 'p "abc".gs(/a/) { $& }' prints "abc".
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@23218 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Jan 28, 2009
  1. @yugui

    merges r21751 from trunk into ruby_1_9_1.

    yugui authored
    * golf_prelude.rb (Enumerator#inspect): avoid warning.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@21830 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Sep 3, 2008
  1. @znz

    * golf_prelude.rb: suppress warning when goruby -v.

    znz authored
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19092 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Aug 13, 2008
  1. @knu

    * golf_prelude.rb, lib/set.rb (TC_Set#test_each),

    knu authored
      test/readline/test_readline_history.rb (Readline#test_each__enumerator),
      test/ruby/test_array.rb (TestArray#test_collect),
      test/ruby/test_enumerator.rb (TestEnumerator#test_initialize):
      Enumerable::Enumerator is now called Enumerator.
    
    * lib/rinda/tuplespace.rb (Rinda::TupleBag#initialize): Use
      enum_for instead of hardcoding Enumerable::Enumerator.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18571 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Mar 17, 2008
  1. @nobu

    * golf_prelude.rb (Object.const_missing): fixed typo.

    nobu authored
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15788 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Jan 14, 2008
  1. @eban

    * golf_prelude.rb: Shorter method name completion. Same method

    eban authored
      used for const missing. do_while and do_until added.  Enumerator
      gains all of Array's abilities. Ex:
        '123'.m{|i|i*2} #=> "112233"
        '123'.pe #=> '123'.perm*' ' #=> "123 132 213 231 312 321"
      base on a patch from Darren Smith <darrenks AT ml1.net>.
    
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15046 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Jan 9, 2008
  1. @eban

    * golf_prelude.rb (Array#to_s): alias to join.

    eban authored
    * golf_prelude.rb (FalseClass#to_s): return "".
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14967 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Dec 31, 2007
  1. @nobu

    * golf_prelude.rb: find words with underscore.

    nobu authored
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14809 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Dec 30, 2007
  1. @unak

    * golf_prelude.rb (String#/): define / as split, as association of

    unak authored
    	  Array#*.
    
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14802 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. @eban

    * golf_prelude.rb (@@golf_hash): for performance improvement.

    eban authored
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14801 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Dec 28, 2007
  1. @eban

    * golf_prelude.rb (Object.say): derived from Perl 5.10.

    eban authored
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14771 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. @unak

    * golf_prelude.rb (Integer#each): use alias simply.

    unak authored
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14755 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  3. @knu

    * golf_prelude.rb (Object.const_missing): No need to delegate to

    knu authored
      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
  4. @unak

    * golf_prelude.rb (Object.quine): need to join because SCRIPT_LINES__[]

    unak authored
    	  returns an array of lines.
    
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14749 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  5. @unak

    * golf_prelude.rb (Object.quine): get the script itself.

    unak authored
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14748 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  6. @knu

    * golf_prelude.rb (Object.const_missing): Auto-complete constants.

    knu authored
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14747 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Dec 27, 2007
  1. @unak

    * golf_prelude.rb (Integer): Integer is now enumerable on goruby.

    unak authored
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14745 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Dec 25, 2007
  1. @unak

    * golf_prelude.rb (h): add new method for all golfers.

    unak authored
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14683 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. @nobu

    * trunk/common.mk, goruby.c, golf_prelude.rb: for golfers.

    nobu authored
    * 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
Something went wrong with that request. Please try again.