<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>m_seki</author_name>
  <author_url>https://blog.hatena.ne.jp/m_seki/</author_url>
  <blog_title>@m_seki の</blog_title>
  <blog_url>https://druby.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>toRubyでした。今日は充実してたなあ。例題をやるのはいいね。 TimeとDate, DateTimeの章で、例題はカレンダー。スクリプトはあとでかく。勉強会中に話題になった「Dateクラスの聖地」は以下にあります。 Dateクラスの聖地 (追記) 例題のカレンダーは、日が進むのではなく、週が進むように見えたので、そう書いてみました。 require 'date' def cal(y, m) head = Date.new(y, m, 1) d = head - head.wday begin 7.times do print d.month == m ? &quot;%3d&quot; % d.day : &quot;…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdruby.hatenablog.com%2Fentry%2F20080807%2F1218044598&quot; title=&quot;toRuby - @m_seki の&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2008-08-07 02:43:18</published>
  <title>toRuby</title>
  <type>rich</type>
  <url>https://druby.hatenablog.com/entry/20080807/1218044598</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
