<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>imaizumimr</author_name>
  <author_url>https://blog.hatena.ne.jp/imaizumimr/</author_url>
  <blog_title>Eggshell</blog_title>
  <blog_url>https://imaizumimr.hatenablog.com/</blog_url>
  <categories>
    <anon>Ruby</anon>
  </categories>
  <description>IRB 1.9.0から tompng さんの実装によりIRBでは型補完が使えるようになりました。katakata_irb の機能がIRB本体に入った形です。 今までは正規表現での補完だったため精度があまり良くなかったのですが、型のパワーを得てより速く精度の良い補完になりました。 今のところデフォルトでは正規表現補完を利用するため、型補完を利用するには設定が必要です。 github.com 依存関係 Ruby 3.0.0 以上、RBS、prism が必要です。 prism がない場合メッセージが出て、正規表現補完にフォールバックします。 型補完を有効にする方法 .irbrc で設定 IRB.co…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fimaizumimr.hatenablog.com%2Fentry%2F2023%2F11%2F22%2F232624&quot; title=&quot;IRBの型補完を有効にする方法 - Eggshell&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>2023-11-22 23:26:24</published>
  <title>IRBの型補完を有効にする方法</title>
  <type>rich</type>
  <url>https://imaizumimr.hatenablog.com/entry/2023/11/22/232624</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
