<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>obake</author_name>
  <author_url>https://blog.hatena.ne.jp/obake/</author_url>
  <blog_title>おばけ日記</blog_title>
  <blog_url>https://obake.hatenadiary.org/</blog_url>
  <categories>
    <anon>Ruby</anon>
  </categories>
  <description>カブらない数字を4桁だすの - $ dropdb 人生 http://d.hatena.ne.jp/dropdb/20071109/1194535114 ひとつの事をするのに随分いろんなパターンがあるんだなぁ。 ary = [] #空の配列です。 4.times{ #4回繰り返して n = rand 10 #0-9までの乱数を発生させ配列に入れる。 redo if ary.include? n #既に配列にnがあった場合はもう1度 ary.push n } print ary redo は制御構造でヘルプには ループ条件のチェックを行なわず、現在の繰り返しをやり直します。 とある。別回答 nu…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fobake.hatenadiary.org%2Fentry%2F20071109%2F1194580853&quot; title=&quot; カブらない数字を4桁だすのまとめ - おばけ日記&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>2007-11-09 13:00:53</published>
  <title> カブらない数字を4桁だすのまとめ</title>
  <type>rich</type>
  <url>https://obake.hatenadiary.org/entry/20071109/1194580853</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
