module Boechat::Internal::Constants

A list of constants you can use to avoid memory allocations or identity checks.

@example Just include this module to your class or module

class Foo
  include Boechat::Internal::Constants

  def call(value = EMPTY_ARRAY)
     value.map(&:to_s)
  end
end

Constants

REGEX_SEMVER_FORMAT

Source: github.com/semver/semver/issues/232 rubocop:disable Metrics/LineLength