lib/licensee/license_field.rb in licensee-9.3.1 vs lib/licensee/license_field.rb in licensee-9.4.0

- old
+ new

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