summaryrefslogtreecommitdiffstats
path: root/sample/goodfriday.rb
diff options
context:
space:
mode:
authortadf <tadf@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-06-22 15:26:58 +0000
committertadf <tadf@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-06-22 15:26:58 +0000
commitd8e069567b30411d6587a47bf9b1051677dba077 (patch)
tree09eedee80d964377eaec8582e67e7450efac66bd /sample/goodfriday.rb
parentef408c00bea0b80117c4aa28d9769fa2d54af20f (diff)
downloadruby-d8e069567b30411d6587a47bf9b1051677dba077.tar.gz
ruby-d8e069567b30411d6587a47bf9b1051677dba077.tar.xz
ruby-d8e069567b30411d6587a47bf9b1051677dba077.zip
updated to the new version (based on date2 3.3).
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2589 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'sample/goodfriday.rb')
-rw-r--r--sample/goodfriday.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/sample/goodfriday.rb b/sample/goodfriday.rb
index 07809cf12..a95cfe819 100644
--- a/sample/goodfriday.rb
+++ b/sample/goodfriday.rb
@@ -1,7 +1,7 @@
#! /usr/bin/env ruby
-# goodfriday.rb: Written by Tadayoshi Funaba 1998, 2000
-# $Id: goodfriday.rb,v 1.1.1.1 2000-07-16 10:25:30+09 tadf Exp $
+# goodfriday.rb: Written by Tadayoshi Funaba 1998, 2000, 2002
+# $Id: goodfriday.rb,v 1.1 1998-03-08 18:44:44+09 tadf Exp $
require 'date'
@@ -44,5 +44,5 @@ es = Date.new(*easter(Time.now.year))
[8*7, 'Trinity Sunday'],
[60, 'Corpus Christi (Thursday after Trinity)']].
each do |xs|
- puts ((es + xs.shift).to_s + ' ' + xs.shift)
+ puts((es + xs.shift).to_s + ' ' + xs.shift)
end