<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>obelisk2</author_name>
  <author_url>https://blog.hatena.ne.jp/obelisk2/</author_url>
  <blog_title>Camera Obscura</blog_title>
  <blog_url>https://obelisk.hatenablog.com/</blog_url>
  <categories>
    <anon>Ruby</anon>
  </categories>
  <description>あることのために必要だったので、複数の文字列をランダムかつ重複しないように生成するメソッドを書いてみました。こんな感じです。 $ irb irb(main):001:0&gt; require_relative &quot;generate_random_strings&quot; =&gt; true irb(main):002:0&gt; Utils.generate_random_strings(40) =&gt; [&quot;kk&quot;, &quot;cm&quot;, &quot;aq&quot;, &quot;vf&quot;, &quot;zf&quot;, &quot;uh&quot;, &quot;qv&quot;, &quot;pv&quot;, &quot;bb&quot;, &quot;jp&quot;, &quot;td&quot;, &quot;ri&quot;, &quot;mr&quot;, &quot;hq&quot;, &quot;gy&quot;, &quot;pe&quot;, &quot;ta&quot;, &quot;ot&quot;, …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fobelisk.hatenablog.com%2Fentry%2F2018%2F09%2F07%2F003958&quot; title=&quot;ランダムかつ重複しないように文字列を生成する（Ruby） - Camera Obscura&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>2018-09-07 00:39:58</published>
  <title>ランダムかつ重複しないように文字列を生成する（Ruby）</title>
  <type>rich</type>
  <url>https://obelisk.hatenablog.com/entry/2018/09/07/003958</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
