instance method Module#method_defined?
method_defined?(name) -> bool-
モジュールにインスタンスメソッド name が定義されているとき true を返します。
[SEE_ALSO] Module#public_method_defined?, Module#private_method_defined?, Module#protected_method_defined?
class Module
method_defined?(name) -> boolモジュールにインスタンスメソッド name が定義されているとき true を返します。
[SEE_ALSO] Module#public_method_defined?, Module#private_method_defined?, Module#protected_method_defined?