<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>lhiroki1205</author_name>
  <author_url>https://blog.hatena.ne.jp/lhiroki1205/</author_url>
  <blog_title>技術ブログ</blog_title>
  <blog_url>https://lhiroki1205.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>モンキーパッチ Rubyのモンキーパッチについて 概要 モンキーパッチとは既存の実装を上書きして、自分が期待する挙動に変更することを表す言葉です。 しかし、不適切に挙動を上書きすると実装全体の動きがおかしくなることがあるので注意が必要。 例 class Sports def initialize(name) @sports = sports end def favorite &quot;My favorite sports is #{@sports}&quot; end end sports = Sports.new(&quot;soccer&quot;) sports.favorite #=&gt; &quot;My favorite sport…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Flhiroki1205.hatenablog.com%2Fentry%2F2019%2F10%2F06%2F094356&quot; title=&quot;モンキーパッチ - 技術ブログ&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>2019-10-06 09:43:56</published>
  <title>モンキーパッチ</title>
  <type>rich</type>
  <url>https://lhiroki1205.hatenablog.com/entry/2019/10/06/094356</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
