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
commitafda1bdb62ce3f6256b73f64b4cf2c93fcd2ade1 (patch)
tree0dbf04277e319c2f335e8ff3101a5c59011f4dbf /lib/time.rb
parent23a6ab1248f27a30c53e7395f8120a37a584e819 (diff)
downloadruby-afda1bdb62ce3f6256b73f64b4cf2c93fcd2ade1.tar.gz
ruby-afda1bdb62ce3f6256b73f64b4cf2c93fcd2ade1.tar.xz
ruby-afda1bdb62ce3f6256b73f64b4cf2c93fcd2ade1.zip
fix typos.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@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',