mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* golf_prelude.rb: syntax formatting for whitespace [Fixes GH-425]
Patch by @edward https://github.com/ruby/ruby/pull/425 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43566 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
a6698bc676
commit
b393aeb055
2 changed files with 24 additions and 18 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
Fri Nov 8 01:01:54 2013 Zachary Scott <e@zzak.io>
|
||||||
|
|
||||||
|
* golf_prelude.rb: syntax formatting for whitespace [Fixes GH-425]
|
||||||
|
Patch by @edward https://github.com/ruby/ruby/pull/425
|
||||||
|
|
||||||
Thu Nov 7 19:36:09 2013 Koichi Sasada <ko1@atdot.net>
|
Thu Nov 7 19:36:09 2013 Koichi Sasada <ko1@atdot.net>
|
||||||
|
|
||||||
* gc.c: modify malloc_limit strategy.
|
* gc.c: modify malloc_limit strategy.
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
class Object
|
class Object
|
||||||
@@golf_hash = {}
|
@@golf_hash = {}
|
||||||
|
|
||||||
def method_missing m, *a, &b
|
def method_missing m, *a, &b
|
||||||
t = @@golf_hash[ [m, self.class] ] ||= matching_methods(m)[0]
|
t = @@golf_hash[ [m, self.class] ] ||= matching_methods(m)[0]
|
||||||
if t && b
|
if t && b
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue