<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>keichanzahorumon0405</author_name>
  <author_url>https://blog.hatena.ne.jp/keichanzahorumon0405/</author_url>
  <blog_title>技術開発日記</blog_title>
  <blog_url>https://kechanzahorumon.hatenadiary.com/</blog_url>
  <categories>
    <anon>Ruby</anon>
  </categories>
  <description>ずっとJavaのstaticメソッドをRubyでどう表現していいかわからなかったけど、調べた感じだとこんな感じになると思う。Java版 class Sample { public static void func() { System.out.print(&quot;test&quot;); } } Ruby版 class Sample def self.func print &quot;test&quot; end end</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkechanzahorumon.hatenadiary.com%2Fentry%2F2012%2F10%2F18%2F113031&quot; title=&quot;Rubyでのstaticメソッド - 技術開発日記&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>2012-10-18 11:30:31</published>
  <title>Rubyでのstaticメソッド</title>
  <type>rich</type>
  <url>https://kechanzahorumon.hatenadiary.com/entry/2012/10/18/113031</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
