Module: Contrast::Utils::PreventPsychSerialization

Included in:
PreventSerialization
Defined in:
lib/contrast/utils/prevent_serialization.rb

Overview

DO NOT REMOVE THIS!

Psych/YAML is also pretty cool. But it doesn’t mess with anonymous classes. In order to make things we extend serializable, we need to make sure we play nice.

Instance Method Summary collapse

Instance Method Details

#encode_with(*_args) ⇒ Object



31
32
33
# File 'lib/contrast/utils/prevent_serialization.rb', line 31

def encode_with *_args
  nil
end

#init_with(*_args) ⇒ Object



35
36
37
# File 'lib/contrast/utils/prevent_serialization.rb', line 35

def init_with *_args
  nil
end