Anonymous user
Discordian date: Difference between revisions
m
→{{header|Ruby}}: different output method that does not require the explicit to_s call
(→{{header|C}}: added link) |
m (→{{header|Ruby}}: different output method that does not require the explicit to_s call) |
||
Line 1,121:
<lang ruby>[[2012, 2, 28], [2012, 2, 29], [2012, 3, 1], [2011, 10, 5]].each do |date|
dd = DiscordianDate.new(*date)
end</lang>
Outputs:
<pre>
=={{header|Scala}}==
|