Module: ConvenientService::Utils::Object
- Defined in:
- lib/convenient_service/utils/object.rb,
lib/convenient_service/utils/object/safe_send.rb,
lib/convenient_service/utils/object/duck_class.rb,
lib/convenient_service/utils/object/clamp_class.rb,
lib/convenient_service/utils/object/resolve_type.rb,
lib/convenient_service/utils/object/get_own_method.rb,
lib/convenient_service/utils/object/instance_variable_fetch.rb,
lib/convenient_service/utils/object/instance_variable_delete.rb,
lib/convenient_service/utils/object/memoize_including_falsy_values.rb
Defined Under Namespace
Classes: ClampClass, DuckClass, GetOwnMethod, InstanceVariableDelete, InstanceVariableFetch, MemoizeIncludingFalsyValues, ResolveType, SafeSend
Class Method Summary
collapse
Class Method Details
.clamp_class ⇒ Object
20
21
22
|
# File 'lib/convenient_service/utils/object.rb', line 20
def clamp_class(...)
ClampClass.call(...)
end
|
.duck_class ⇒ Object
28
29
30
|
# File 'lib/convenient_service/utils/object.rb', line 28
def duck_class(...)
DuckClass.call(...)
end
|
.instance_variable_delete ⇒ Object
36
37
38
|
# File 'lib/convenient_service/utils/object.rb', line 36
def instance_variable_delete(...)
InstanceVariableDelete.call(...)
end
|
.instance_variable_fetch ⇒ Object
44
45
46
|
# File 'lib/convenient_service/utils/object.rb', line 44
def instance_variable_fetch(...)
InstanceVariableFetch.call(...)
end
|
.memoize_including_falsy_values ⇒ Object
.own_method ⇒ Object
68
69
70
|
# File 'lib/convenient_service/utils/object.rb', line 68
def own_method(...)
GetOwnMethod.call(...)
end
|
.resolve_type ⇒ Object
76
77
78
|
# File 'lib/convenient_service/utils/object.rb', line 76
def resolve_type(...)
ResolveType.call(...)
end
|
.safe_send ⇒ Object
84
85
86
|
# File 'lib/convenient_service/utils/object.rb', line 84
def safe_send(...)
SafeSend.call(...)
end
|