Module: Console1984::Freezeable::ClassMethods
- Defined in:
- lib/console1984/freezeable.rb
Constant Summary collapse
- SENSITIVE_INSTANCE_METHODS =
%i[ instance_variable_get instance_variable_set ]
Instance Method Summary collapse
Instance Method Details
#prevent_instance_data_manipulation ⇒ Object
33 34 35 36 37 |
# File 'lib/console1984/freezeable.rb', line 33 def prevent_instance_data_manipulation SENSITIVE_INSTANCE_METHODS.each do |method| prevent_sensitive_method method end end |