lib/convenient_service/utils/module.rb in convenient_service-0.4.0 vs lib/convenient_service/utils/module.rb in convenient_service-0.5.0
- old
+ new
@@ -1,11 +1,13 @@
# frozen_string_literal: true
require_relative "module/class_method_defined"
+require_relative "module/fetch_own_const"
require_relative "module/get_own_instance_method"
require_relative "module/get_own_const"
require_relative "module/has_own_instance_method"
+require_relative "module/include_module"
require_relative "module/instance_method_defined"
module ConvenientService
module Utils
##
@@ -17,19 +19,27 @@
class << self
def class_method_defined?(...)
ClassMethodDefined.call(...)
end
+ def fetch_own_const(...)
+ FetchOwnConst.call(...)
+ end
+
def get_own_instance_method(...)
GetOwnInstanceMethod.call(...)
end
def get_own_const(...)
GetOwnConst.call(...)
end
def has_own_instance_method?(...)
HasOwnInstanceMethod.call(...)
+ end
+
+ def include_module?(...)
+ IncludeModule.call(...)
end
def instance_method_defined?(...)
InstanceMethodDefined.call(...)
end