<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ku-ma-me</author_name>
  <author_url>https://blog.hatena.ne.jp/ku-ma-me/</author_url>
  <blog_title>まめめも</blog_title>
  <blog_url>https://mametter.hatenablog.com/</blog_url>
  <categories>
    <anon>Ruby</anon>
  </categories>
  <description>Lisp:よくある正解を読んでいて、 実行中のサーバにつないでREPLプロンプト出して関数を置き換えちゃったりした場合 というのが気になった。REPL とは read-eval-print loop のことらしいので、ターミナルで動く対話環境のことと想像した。Ruby でも実行中のプログラムに対して irb を開けたら便利かもなーと思ったので、proof-of-concept 。ソースコードは最後に書く。次の test.rb を例に動作を説明する。 ## test.rb $i = 0 100.times do $i += 1 p $i sleep 10 end まず、test.rb を実行する…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmametter.hatenablog.com%2Fentry%2F20070527%2Fp1&quot; title=&quot;rirb : remote irb - まめめも&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-05-27 00:00:00</published>
  <title>rirb : remote irb</title>
  <type>rich</type>
  <url>https://mametter.hatenablog.com/entry/20070527/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
