Class: Console1984::Refrigerator
- Inherits:
-
Object
- Object
- Console1984::Refrigerator
- Includes:
- Freezeable
- Defined in:
- lib/console1984/refrigerator.rb
Overview
Freezes classes to prevent tampering them
Instance Method Summary collapse
Methods included from Freezeable
Instance Method Details
#freeze_all ⇒ Object
5 6 7 8 9 10 11 |
# File 'lib/console1984/refrigerator.rb', line 5 def freeze_all eager_load_all_classes freeze_internal_instances # internal modules and classes are frozen by including Console1984::Freezable freeze_external_modules_and_classes Console1984::Freezeable.freeze_all end |