lib/hanami/entity/schema.rb in hanami-model-1.1.0.beta1 vs lib/hanami/entity/schema.rb in hanami-model-1.1.0.beta2
- old
+ new
@@ -93,10 +93,10 @@
#
# @since 0.7.0
class Dsl
# @since 1.1.0
# @api private
- TYPES = [:schema, :strict, :weak, :permissive, :strict_with_defaults, :symbolized].freeze
+ TYPES = %i[schema strict weak permissive strict_with_defaults symbolized].freeze
# @since 1.1.0
# @api private
DEFAULT_TYPE = TYPES.first