<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>m-oonuki_st</author_name>
  <author_url>https://blog.hatena.ne.jp/m-oonuki_st/</author_url>
  <blog_title>Zenet Tech Blog</blog_title>
  <blog_url>https://media.zenet-web.co.jp/</blog_url>
  <categories>
    <anon>Ruby</anon>
    <anon>トラブル対応</anon>
    <anon>エラー対応</anon>
  </categories>
  <description>ZENET大貫です。 今回は、業務で遭遇した Ruby の非推奨警告 「warning: literal string will be frozen in the future」 の回避方法について書いていきたいと思います。 目次 非推奨警告とは何か warning: literal string will be frozen in the futureについて 「dup」を使い warning: literal string will be frozen in the future を回避する方法 「dup」とは何か 「dup」と「clone」の違い まとめ 非推奨警告とは何か Rubyでは…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmedia.zenet-web.co.jp%2Fentry%2F2026%2F05%2F21%2F150917&quot; title=&quot;Rubyの非推奨警告『literal string will be frozen in the future』への対応と、『dup』メソッドの使い方 - Zenet Tech Blog&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>https://cdn-ak.f.st-hatena.com/images/fotolife/m/media-zenet/20260605/20260605161808.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2026-05-21 15:09:17</published>
  <title>Rubyの非推奨警告『literal string will be frozen in the future』への対応と、『dup』メソッドの使い方</title>
  <type>rich</type>
  <url>https://media.zenet-web.co.jp/entry/2026/05/21/150917</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
