emancu / toml-rb

A parser for TOML using Citrus library.
MIT License
105 stars 39 forks source link

dumper: Support frozen strings #134

Closed bastelfreak closed 2 years ago

bastelfreak commented 2 years ago

In Ruby 2.7 and newer, frozen strings became a thing. I maintain a Puppet module where the dumper.rb got vendored in and frozen strings are now enbled in the module. With this patch the dumper.rb supports frozen strings.

bastelfreak commented 2 years ago

please let me know if you want me to add the frozen string comment to the header of the file.

emancu commented 2 years ago

Hi @bastelfreak thanks for your contribution! Would you mind adding the forzen string comment too? That could be helpful as well.

bastelfreak commented 2 years ago

@emancu thanks for the feedback, should be fine now.