mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/csv.rb: fix a typo.
* lib/logger.rb: ditto * lib/rss.rb: ditto * lib/webrick/httpauth/authenticator.rb: ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31506 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
8c2a52937f
commit
1111afbe5a
4 changed files with 4 additions and 4 deletions
|
@ -1556,7 +1556,7 @@ class CSV
|
||||||
#
|
#
|
||||||
# See CSV::DEFAULT_OPTIONS for the default settings.
|
# See CSV::DEFAULT_OPTIONS for the default settings.
|
||||||
#
|
#
|
||||||
# Options cannot be overriden in the instance methods for performance reasons,
|
# Options cannot be overridden in the instance methods for performance reasons,
|
||||||
# so be sure to set what you want here.
|
# so be sure to set what you want here.
|
||||||
#
|
#
|
||||||
def initialize(data, options = Hash.new)
|
def initialize(data, options = Hash.new)
|
||||||
|
|
|
@ -607,7 +607,7 @@ private
|
||||||
if FileTest.exist?(age_file)
|
if FileTest.exist?(age_file)
|
||||||
# try to avoid filename crash caused by Timestamp change.
|
# try to avoid filename crash caused by Timestamp change.
|
||||||
idx = 0
|
idx = 0
|
||||||
# .99 can be overriden; avoid too much file search with 'loop do'
|
# .99 can be overridden; avoid too much file search with 'loop do'
|
||||||
while idx < 100
|
while idx < 100
|
||||||
idx += 1
|
idx += 1
|
||||||
age_file = "#{@filename}.#{postfix}.#{idx}"
|
age_file = "#{@filename}.#{postfix}.#{idx}"
|
||||||
|
|
|
@ -35,7 +35,7 @@
|
||||||
#
|
#
|
||||||
# As you can see, the workhorse is RSS::Parser#parse, which takes the source of
|
# As you can see, the workhorse is RSS::Parser#parse, which takes the source of
|
||||||
# the feed and a parameter that performs validation on the feed. We get back an
|
# the feed and a parameter that performs validation on the feed. We get back an
|
||||||
# object that has all of the data from our feed, accessable through methods.
|
# object that has all of the data from our feed, accessible through methods.
|
||||||
# This example shows getting the title out of the channel element, and looping
|
# This example shows getting the title out of the channel element, and looping
|
||||||
# through the list of items.
|
# through the list of items.
|
||||||
#
|
#
|
||||||
|
|
|
@ -22,7 +22,7 @@ module WEBrick
|
||||||
AuthException = HTTPStatus::Unauthorized
|
AuthException = HTTPStatus::Unauthorized
|
||||||
|
|
||||||
##
|
##
|
||||||
# Method of authentication, must be overriden by the including class
|
# Method of authentication, must be overridden by the including class
|
||||||
|
|
||||||
AuthScheme = nil
|
AuthScheme = nil
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue