<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>osyo-manga</author_name>
  <author_url>https://blog.hatena.ne.jp/osyo-manga/</author_url>
  <blog_title>Secret Garden(Instrumental)</blog_title>
  <blog_url>https://secret-garden.hatenablog.com/</blog_url>
  <categories>
    <anon>Ruby</anon>
  </categories>
  <description>deep_dup の話が Twitter で出たので試してみました。 ActiveSupport の #deep_dup をつかった場合 ActiveSupport に #deep_dup の実装があるのでそれで試してみました。 require &quot;active_support&quot; require &quot;active_support/core_ext/object/deep_dup.rb&quot; a = [1, 2, 3] a[3] = a # error: in `map': stack level too deep (SystemStackError) p a.deep_dup と、いうことで Syst…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsecret-garden.hatenablog.com%2Fentry%2F2020%2F05%2F31%2F114307&quot; title=&quot;Ruby で循環参照してる配列で deep_dup するとどうなるか - Secret Garden(Instrumental)&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>2020-05-31 11:43:07</published>
  <title>Ruby で循環参照してる配列で deep_dup するとどうなるか</title>
  <type>rich</type>
  <url>https://secret-garden.hatenablog.com/entry/2020/05/31/114307</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
