Sha256: d900220b40271c69494a6d64e559d3502674b6112c34fdca5d33d1cb0625843f

Contents?: true

Size: 800 Bytes

Versions: 5

Compression:

Stored size: 800 Bytes

Contents

# frozen_string_literal: true

module Hanami
  module CLI
    # @since 2.2.0
    # @api private
    module Generators
      # @since 2.2.0
      # @api private
      INDENTATION = "  "
      private_constant :INDENTATION

      # @since 2.2.0
      # @api private
      OFFSET = INDENTATION
      private_constant :OFFSET

      # @since 2.2.0
      # @api private
      NESTED_OFFSET = INDENTATION * 2
      private_constant :OFFSET

      # @since 2.2.0
      # @api private
      KEY_SEPARATOR = %r{[.\/]}
      private_constant :KEY_SEPARATOR

      # @since 2.2.0
      # @api private
      MATCHER_PATTERN = /::|\./
      private_constant :MATCHER_PATTERN

      # @since 2.2.0
      # @api private
      NAMESPACE_SEPARATOR = "::"
      private_constant :NAMESPACE_SEPARATOR
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
hanami-cli-2.2.1 lib/hanami/cli/generators/constants.rb
hanami-cli-2.2.0 lib/hanami/cli/generators/constants.rb
hanami-cli-2.2.0.rc1 lib/hanami/cli/generators/constants.rb
hanami-cli-2.2.0.beta2 lib/hanami/cli/generators/constants.rb
hanami-cli-2.2.0.beta1 lib/hanami/cli/generators/constants.rb