Module: JavaProperties::Parsing::Normalizer
- Defined in:
- lib/java-properties/parsing/normalizer.rb
Overview
Module to normalize the content of a properties file
Defined Under Namespace
Classes: Rule
Constant Summary collapse
- RULES =
Collection of ordered rules
[]
Class Method Summary collapse
-
.normalize!(text) ⇒ String
Normalizes the content of a properties file content by applying the RULES.
Class Method Details
.normalize!(text) ⇒ String
Normalizes the content of a properties file content by applying the RULES
65 66 67 68 69 70 |
# File 'lib/java-properties/parsing/normalizer.rb', line 65 def self.normalize!(text) RULES.each do |rule| rule.apply!(text) end text end |