{"published":"2014-07-31 22:36:04","image_url":null,"blog_title":"Tbpgr Blog","title":"Ruby | Module | protected_method_defined?","width":"100%","version":"1.0","description":"\u6982\u8981 Module#protected_method_defined?(name) -> bool \u8a73\u7d30 \u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u30e1\u30bd\u30c3\u30c9 name \u304c\u30e2\u30b8\u30e5\u30fc\u30eb\u306b\u5b9a\u7fa9\u3055\u308c\u3066\u304a\u308a\u3001 \u3057\u304b\u3082\u305d\u306e\u53ef\u8996\u6027\u304c protected \u3067\u3042\u308b\u3068\u304d\u306b true \u3092\u8fd4\u5374\u3002 \u305d\u3046\u3067\u306a\u3051\u308c\u3070 false \u3092\u8fd4\u5374\u3002 \u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9 require 'tbpgr_utils' module Hogeable def hogeable end protected def protected_hogeable end end class Hoge include Hogeable def hoge print 'hoge' end p\u2026","provider_name":"Hatena Blog","blog_url":"https://tbpgr.hatenablog.com/","categories":["Ruby"],"height":"190","url":"https://tbpgr.hatenablog.com/entry/20140731/1406813764","provider_url":"https://hatena.blog","author_url":"https://blog.hatena.ne.jp/tbpg/","author_name":"tbpg","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftbpgr.hatenablog.com%2Fentry%2F20140731%2F1406813764\" title=\"Ruby | Module | protected_method_defined? - Tbpgr Blog\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","type":"rich"}