Class: Object
- Inherits:
- BasicObject
- Defined in:
- lib/contrast/extension/object.rb,
lib/contrast/agent/assess/finalizers/freeze.rb
Overview
Our patch of the Object#freeze method, allowing any Object we track to function with our Contrast::Agent::Assess::Finalizers::Hash
Class Method Summary collapse
-
.cs__prepended?(method_name, is_instance) ⇒ Boolean
used for direct check on object: String.cs__prepended? *args.
Instance Method Summary collapse
- #cs__freeze ⇒ Object
- #cs__patched_object_freeze ⇒ Object
-
#freeze ⇒ Object
Applies the the freeze patch and handles the pre-finalizes the object.
Class Method Details
.cs__prepended?(method_name, is_instance) ⇒ Boolean
used for direct check on object: String.cs__prepended? *args
183 184 185 186 |
# File 'ext/cs__common/cs__common.c', line 183
extern VALUE contrast_check_prepended(VALUE self, VALUE method_name,
VALUE is_instance) {
return _contrast_check_prepended(self, method_name, is_instance);
}
|