Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Deep freeze only strings, arrays and hashes #447
Freezing a class prevents it from being modified at all, which can
Calling a function with
This whitelists strings, arrays and hashes as safe classes to freeze
Alternative to #446 with a whitelisted set of classes instead of blacklisting Class specifically. This is closer to Puppet's implementation at https://github.com/puppetlabs/puppet/blob/master/lib/puppet/parser/scope.rb#L775, per the discussion on #442.