diff options
author | a_matsuda <a_matsuda@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-12-23 03:43:23 +0000 |
---|---|---|
committer | a_matsuda <a_matsuda@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-12-23 03:43:23 +0000 |
commit | 3a05da132184ee2a1ccac86b4b7fa865dc05c846 () | |
tree | 3b2fee16a2d3ff4626cf53e6357c1c247b23c7da | |
parent | adc0898538b5656a0aae9a4c604876e398db539c (diff) |
[DOC] Fix typos
* benchmark.rb * getoptlong.rb * irb.rb * net/http.rb * net/http/header.rb * net/imap.rb * optparse.rb * pstore.rb * webrick.rb * xmlrpc.rb [ci skip] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53261 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | lib/benchmark.rb | 2 | ||||
-rw-r--r-- | lib/getoptlong.rb | 2 | ||||
-rw-r--r-- | lib/irb.rb | 4 | ||||
-rw-r--r-- | lib/net/http.rb | 2 | ||||
-rw-r--r-- | lib/net/http/header.rb | 2 | ||||
-rw-r--r-- | lib/net/imap.rb | 2 | ||||
-rw-r--r-- | lib/optparse.rb | 4 | ||||
-rw-r--r-- | lib/pstore.rb | 2 | ||||
-rw-r--r-- | lib/webrick.rb | 2 | ||||
-rw-r--r-- | lib/xmlrpc.rb | 2 |
10 files changed, 12 insertions, 12 deletions
@@ -26,7 +26,7 @@ # # puts Benchmark.measure { "a"*1_000_000_000 } # -# On my machine (OSX 10.8.3 on i5 1.7 Ghz) this generates: # # 0.350000 0.400000 0.750000 ( 0.835234) # @@ -575,7 +575,7 @@ class GetoptLong else # # This is a non-option argument. - # Only RETURN_IN_ORDER falled into here. # return '', argument end @@ -329,7 +329,7 @@ require "irb/locale" # irb.3(<Foo:0x4010af3c>):003:0> bar #=> bar => nil # # kill jobs 1, 2, and 3 # irb.3(<Foo:0x4010af3c>):004:0> kill 1, 2, 3 -# # list open sesssions, should only include main session # irb(main):009:0> jobs # #0->irb on main (#<Thread:0x400fb7e4> : running) # # quit irb @@ -344,7 +344,7 @@ module IRB # Displays current configuration. # - # Modifing the configuration is achieved by sending a message to IRB.conf. # # See IRB@Configuration for more information. def IRB.conf @@ -929,7 +929,7 @@ module Net #:nodoc: while true raise Net::OpenTimeout if timeout <= 0 start = Process.clock_gettime Process::CLOCK_MONOTONIC - # to_io is requied because SSLSocket doesn't have wait_readable yet case s.connect_nonblock(exception: false) when :wait_readable; s.to_io.wait_readable(timeout) when :wait_writable; s.to_io.wait_writable(timeout) @@ -378,7 +378,7 @@ module Net::HTTPHeader # +params+ is the form data set; it is an Array of Arrays or a Hash # +enctype is the type to encode the form data set. # It is application/x-www-form-urlencoded or multipart/form-data. - # +formpot+ is an optional hash to specify the detail. # # boundary:: the boundary of the multipart message # charset:: the charset of the message. All names and the values of @@ -779,7 +779,7 @@ module Net # # The +set+ parameter is a number or a range between two numbers, # or an array of those. The number is a message sequence number, - # where -1 repesents a '*' for use in range notation like 100..-1 # being interpreted as '100:*'. Beware that the +exclude_end?+ # property of a Range object is ignored, and the contents of a # range are independent of the order of the range endpoints as per @@ -120,7 +120,7 @@ # # -n, --name=NAME Name to say hello to # # -h, --help Prints this help # -# === Required Arugments # # For options that require an argument, option specification strings may include an # option name in all caps. If an option is used without the required argument, @@ -175,7 +175,7 @@ # As an example, the built-in +Time+ conversion is used. The other built-in # conversions behave in the same way. # OptionParser will attempt to parse the argument -# as a +Time+. If it succeeeds, that time will be passed to the # handler block. Otherwise, an exception will be raised. # # require 'optparse' @@ -190,7 +190,7 @@ class PStore # store.transaction do # begin transaction # # load some data into the store... # store[:single_object] = "My data..." - # store[:obj_heirarchy] = { "Kev Jackson" => ["rational.rb", "pstore.rb"], # "James Gray" => ["erb.rb", "pstore.rb"] } # end # commit changes to data store file # @@ -9,7 +9,7 @@ # # A WEBrick server can be composed of multiple WEBrick servers or servlets to # provide differing behavior on a per-host or per-path basis. WEBrick -# includes servlets for handling CGI scripts, ERb pages, Ruby blocks and # directory listings. # # WEBrick also includes tools for daemonizing a process and starting a process @@ -71,7 +71,7 @@ # # * General # * possible to choose between XMLParser module (Expat wrapper) and REXML/NQXML (pure Ruby) parsers -# * Marshalling Ruby objects to Hashs and reconstruct them later from a Hash # * SandStorm component architecture XMLRPC::Client interface # # == Howto |