Sha256: 44e570808e27c5769f3cf9a1a21bd3b7e0a204d221177a8c2d56082ffade531c

Contents?: true

Size: 1.07 KB

Versions: 13

Compression:

Stored size: 1.07 KB

Contents

# frozen_string_literal: true

module Hanami
  # @api private
  CONTAINER_KEY_DELIMITER = "."
  private_constant :CONTAINER_KEY_DELIMITER

  # @api private
  MODULE_DELIMITER = "::"
  private_constant :MODULE_DELIMITER

  # @api private
  PATH_DELIMITER = "/"
  private_constant :PATH_DELIMITER

  # @api private
  APP_PATH = "config/app.rb"
  private_constant :APP_PATH

  # @api private
  CONFIG_DIR = "config"
  private_constant :CONFIG_DIR

  # @api private
  APP_DIR = "app"
  private_constant :APP_DIR

  # @api private
  LIB_DIR = "lib"
  private_constant :LIB_DIR

  # @api private
  SLICES_DIR = "slices"
  private_constant :SLICES_DIR

  # @api private
  ROUTES_PATH = File.join(CONFIG_DIR, "routes")
  private_constant :ROUTES_PATH

  # @api private
  ROUTES_CLASS_NAME = "Routes"
  private_constant :ROUTES_CLASS_NAME

  # @api private
  SETTINGS_PATH = File.join(CONFIG_DIR, "settings")
  private_constant :SETTINGS_PATH

  # @api private
  SETTINGS_CLASS_NAME = "Settings"
  private_constant :SETTINGS_CLASS_NAME

  # @api private
  RB_EXT = ".rb"
  private_constant :RB_EXT
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
hanami-2.2.0.beta1 lib/hanami/constants.rb
hanami-2.1.0 lib/hanami/constants.rb
hanami-2.1.0.rc3 lib/hanami/constants.rb
hanami-2.1.0.rc2 lib/hanami/constants.rb
hanami-2.1.0.rc1 lib/hanami/constants.rb
hanami-2.1.0.beta2.1 lib/hanami/constants.rb
hanami-2.1.0.beta2 lib/hanami/constants.rb
hanami-2.1.0.beta1 lib/hanami/constants.rb
hanami-2.0.3 lib/hanami/constants.rb
hanami-2.0.2 lib/hanami/constants.rb
hanami-2.0.1 lib/hanami/constants.rb
hanami-2.0.0 lib/hanami/constants.rb
hanami-2.0.0.rc1 lib/hanami/constants.rb