diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-11-16 01:30:29 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-11-16 01:30:29 +0000 |
commit | 64fc5f4ef3dcc4442129ae7b97da296877ff60e1 (patch) | |
tree | fa4216d535d8b5dcc45f39c19c64385172e710bf /benchmark/bm_app_uri.rb | |
parent | 1c1eb0b2a8be0aac3dc1788502a2db8c75c17d2a (diff) | |
download | ruby-64fc5f4ef3dcc4442129ae7b97da296877ff60e1.tar.gz ruby-64fc5f4ef3dcc4442129ae7b97da296877ff60e1.tar.xz ruby-64fc5f4ef3dcc4442129ae7b97da296877ff60e1.zip |
* set eol-style.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13944 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'benchmark/bm_app_uri.rb')
-rw-r--r-- | benchmark/bm_app_uri.rb | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/benchmark/bm_app_uri.rb b/benchmark/bm_app_uri.rb index 49fe5a81a..586edfd5d 100644 --- a/benchmark/bm_app_uri.rb +++ b/benchmark/bm_app_uri.rb @@ -1,8 +1,8 @@ -require 'uri'
-
-100_000.times{
- uri = URI.parse('http://www.ruby-lang.org')
- uri.scheme
- uri.host
- uri.port
-}
+require 'uri' + +100_000.times{ + uri = URI.parse('http://www.ruby-lang.org') + uri.scheme + uri.host + uri.port +} |