mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
updated to the new version (based on date2 3.3).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2589 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
47993929c4
commit
0e866a2e51
6 changed files with 185 additions and 135 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue