{"title":"ruby\u5b66\u7fd2\u30e1\u30e2","published":"2007-09-13 00:00:00","provider_url":"https://hatena.blog","blog_url":"https://yzn.hatenadiary.org/","url":"https://yzn.hatenadiary.org/entry/20070913/p1","author_name":"yzn","version":"1.0","author_url":"https://blog.hatena.ne.jp/yzn/","blog_title":"yzn\u2019s memo","height":"190","width":"100%","description":"\u30e2\u30b8\u30e5\u30fc\u30eb\u306e\u512a\u5148\u9806\u4f4d # \u30e2\u30b8\u30e5\u30fc\u30eb1\u306e\u5b9a\u7fa9 module Sample1 def test puts \"Sample1!!\" end end # \u30e2\u30b8\u30e5\u30fc\u30eb2\u306e\u5b9a\u7fa9 module Sample2 def test puts \"Sample2!!\" end end class Clazz1 include Sample1 include Sample2 end Clazz1.new.test => Sample2!! # \u6700\u5f8c\u306b\u5ba3\u8a00\u3057\u305f Sample2#test \u304c\u547c\u3073\u51fa\u3055\u308c\u308b class Clazz2 include Sample2 include Sample1 end Clazz2.ne\u2026","image_url":null,"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyzn.hatenadiary.org%2Fentry%2F20070913%2Fp1\" title=\"ruby\u5b66\u7fd2\u30e1\u30e2 - yzn\u2019s memo\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","categories":["dev","ruby"],"provider_name":"Hatena Blog","type":"rich"}