lib/licensee/license_field.rb in licensee-9.9.4 vs lib/licensee/license_field.rb in licensee-9.10.0
- old
+ new
@@ -49,7 +49,11 @@
# The human-readable field name
def label
key.sub('fullname', 'full name').capitalize
end
alias to_s label
+
+ def raw_text
+ "[#{key}]"
+ end
end
end