lib/licensee/license_field.rb in licensee-9.10.1 vs lib/licensee/license_field.rb in licensee-9.11.0

- old
+ new

@@ -43,10 +43,10 @@ LicenseField.from_array content.scan(FIELD_REGEX).flatten end end alias key name - FIELD_REGEX = /\[(#{Regexp.union(LicenseField.keys)})\]/ + FIELD_REGEX = /\[(#{Regexp.union(LicenseField.keys)})\]/.freeze # The human-readable field name def label key.sub('fullname', 'full name').capitalize end