lib/hanami/model/entity_name.rb in hanami-model-1.3.0 vs lib/hanami/model/entity_name.rb in hanami-model-1.3.1
- old
+ new
@@ -8,10 +8,10 @@
# @since 0.7.0
# @api private
class EntityName
# @since 0.7.0
# @api private
- SUFFIX = /Repository\z/
+ SUFFIX = /Repository\z/.freeze
# @param name [Class,String] the class or its name
# @return [String] the entity name
#
# @since 0.7.0