mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
merge revision(s) 15425:
* lib/benchmark.rb (Job::Benchmark#item): fix typo. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@17135 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
5ecf4d8af3
commit
465eec7158
3 changed files with 6 additions and 2 deletions
|
|
@ -1,3 +1,7 @@
|
||||||
|
Fri Jun 13 12:10:13 2008 NARUSE, Yui <naruse@ruby-lang.org>
|
||||||
|
|
||||||
|
* lib/benchmark.rb (Job::Benchmark#item): fix typo.
|
||||||
|
|
||||||
Fri Jun 13 12:06:17 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
Fri Jun 13 12:06:17 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
* ext/bigdecimal/bigdecimal.c (BigDecimal_to_f): use strtod() for more
|
* ext/bigdecimal/bigdecimal.c (BigDecimal_to_f): use strtod() for more
|
||||||
|
|
|
||||||
|
|
@ -333,7 +333,7 @@ module Benchmark
|
||||||
# Registers the given label and block pair in the job list.
|
# Registers the given label and block pair in the job list.
|
||||||
#
|
#
|
||||||
def item(label = "", &blk) # :yield:
|
def item(label = "", &blk) # :yield:
|
||||||
raise ArgmentError, "no block" unless block_given?
|
raise ArgumentError, "no block" unless block_given?
|
||||||
label.concat ' '
|
label.concat ' '
|
||||||
w = label.length
|
w = label.length
|
||||||
@width = w if @width < w
|
@width = w if @width < w
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
#define RUBY_RELEASE_DATE "2008-06-13"
|
#define RUBY_RELEASE_DATE "2008-06-13"
|
||||||
#define RUBY_VERSION_CODE 186
|
#define RUBY_VERSION_CODE 186
|
||||||
#define RUBY_RELEASE_CODE 20080613
|
#define RUBY_RELEASE_CODE 20080613
|
||||||
#define RUBY_PATCHLEVEL 173
|
#define RUBY_PATCHLEVEL 174
|
||||||
|
|
||||||
#define RUBY_VERSION_MAJOR 1
|
#define RUBY_VERSION_MAJOR 1
|
||||||
#define RUBY_VERSION_MINOR 8
|
#define RUBY_VERSION_MINOR 8
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue