summaryrefslogtreecommitdiffstats
path: root/lib/time.rb
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-01-07 11:31:21 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-01-07 11:31:21 +0000
commit12ec4a111414dbb3914ee7addc995b7e5381a570 (patch)
tree9ec6ea36567494cfdfad82f80eae7337107c6513 /lib/time.rb
parent3f0a43579029fbd0816f653047bba0196193d074 (diff)
downloadruby-12ec4a111414dbb3914ee7addc995b7e5381a570.tar.gz
ruby-12ec4a111414dbb3914ee7addc995b7e5381a570.tar.xz
ruby-12ec4a111414dbb3914ee7addc995b7e5381a570.zip
fix typos.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@5400 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/time.rb')
-rw-r--r--lib/time.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/time.rb b/lib/time.rb
index 9d2ac558d..17f30e34c 100644
--- a/lib/time.rb
+++ b/lib/time.rb
@@ -13,7 +13,7 @@
#
# === Specialized interface
#
-# This library provides methods dedicated to special puposes:
+# This library provides methods dedicated to special purposes:
# * RFC 2822, RFC 2616 and XML Schema.
# * They makes usual life easier.
#
@@ -353,7 +353,7 @@ class Time
# If self is a UTC time, Z is used as TZD. [+-]hh:mm is used otherwise.
#
# +fractional_seconds+ specifies a number of digits of fractional seconds.
- # Its default value os 0.
+ # Its default value is 0.
#
def xmlschema(fraction_digits=0)
sprintf('%d-%02d-%02dT%02d:%02d:%02d',