Module: ConvenientService::Utils::Module

Defined in:
lib/convenient_service/utils/module.rb,
lib/convenient_service/utils/module/get_own_const.rb,
lib/convenient_service/utils/module/include_module.rb,
lib/convenient_service/utils/module/fetch_own_const.rb,
lib/convenient_service/utils/module/class_method_defined.rb,
lib/convenient_service/utils/module/get_own_instance_method.rb,
lib/convenient_service/utils/module/has_own_instance_method.rb,
lib/convenient_service/utils/module/instance_method_defined.rb

Defined Under Namespace

Classes: ClassMethodDefined, FetchOwnConst, GetOwnConst, GetOwnInstanceMethod, HasOwnInstanceMethod, IncludeModule, InstanceMethodDefined

Class Method Summary collapse

Class Method Details

.class_method_defined?Boolean

Returns:

  • (Boolean)


20
21
22
# File 'lib/convenient_service/utils/module.rb', line 20

def class_method_defined?(...)
  ClassMethodDefined.call(...)
end

.fetch_own_constObject



24
25
26
# File 'lib/convenient_service/utils/module.rb', line 24

def fetch_own_const(...)
  FetchOwnConst.call(...)
end

.get_own_constObject



32
33
34
# File 'lib/convenient_service/utils/module.rb', line 32

def get_own_const(...)
  GetOwnConst.call(...)
end

.get_own_instance_methodObject



28
29
30
# File 'lib/convenient_service/utils/module.rb', line 28

def get_own_instance_method(...)
  GetOwnInstanceMethod.call(...)
end

.has_own_instance_method?Boolean

Returns:

  • (Boolean)


36
37
38
# File 'lib/convenient_service/utils/module.rb', line 36

def has_own_instance_method?(...)
  HasOwnInstanceMethod.call(...)
end

.include_module?Boolean

Returns:

  • (Boolean)


40
41
42
# File 'lib/convenient_service/utils/module.rb', line 40

def include_module?(...)
  IncludeModule.call(...)
end

.instance_method_defined?Boolean

Returns:

  • (Boolean)


44
45
46
# File 'lib/convenient_service/utils/module.rb', line 44

def instance_method_defined?(...)
  InstanceMethodDefined.call(...)
end