Ruby Code Masking Tool
Mask and anonymize class names, method names, variable names, and values in the browser while preserving the structure of your Ruby code.
Font size
About this tool
Before sharing your Ruby code, you can replace specific information such as classes, modules, methods, instance variables, values, etc. with alternative values.
Features
- Common Ruby classes, modules, methods, symbols, and heredocs
- Masking/anonymization of classes, methods, variables, strings, numbers, and comments
How to use
- Paste the Ruby code into the input field.
- Select what to mask and how to handle comments.
- Check and copy the masking results.
- You can remove masking individually by right-clicking on the target area of the masking result, and reapply by right-clicking again.
Limitations
- It does not guarantee complete parsing equivalent to the Ruby parser.
- Visually check the results if they include DSLs, dynamic method definitions, or complex regular expressions.
Privacy: The input contents and processing results are processed within the browser and are not sent to or saved on the Develop Tools server.