mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* string.c (rb_str_ljust): now takes optional argument to specify
pad string. [ruby-talk:70482] * string.c (rb_str_rjust): ditto. * string.c (rb_str_center): ditto. * string.c (rb_str_justify): utility function. * eval.c (rb_add_method): call singleton_method_added or method_added for every method definition (after ruby_running). [ruby-talk:70471] * array.c (rb_ary_reverse_bang): Array#reverse! should not return nil even for arrays sized less than 2. * io.c (argf_eof): should not block after reading all argument files. (ruby-bugs-ja PR#449) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3742 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
f701792f6f
commit
776e2693e7
8 changed files with 134 additions and 100 deletions
|
@ -10,8 +10,8 @@
|
|||
#
|
||||
#
|
||||
|
||||
require "rational.rb"
|
||||
require "complex.rb"
|
||||
require "rational.rb"
|
||||
require "matrix.rb"
|
||||
|
||||
class Integer
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue