Sha256: d3402e7cf2ac32ca5034f5c1166a8bc8b5923ebd97e1b8e863ec958394291fee

Contents?: true

Size: 256 Bytes

Versions: 18

Compression:

Stored size: 256 Bytes

Contents

require 'hanami/utils/class'
require 'hanami/utils/string'

module Hanami
  # @api private
  class ApplicationNamespace
    # @api private
    def self.resolve(name)
      Utils::Class.load!(
        Utils::String.namespace(name)
      )
    end
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
hanami-1.3.5 lib/hanami/application_namespace.rb
hanami-1.3.4 lib/hanami/application_namespace.rb
hanami-1.3.3 lib/hanami/application_namespace.rb
hanami-1.3.2 lib/hanami/application_namespace.rb
hanami-1.3.1 lib/hanami/application_namespace.rb
hanami-1.3.0 lib/hanami/application_namespace.rb
hanami-1.3.0.beta1 lib/hanami/application_namespace.rb
hanami-1.2.0 lib/hanami/application_namespace.rb
hanami-1.2.0.rc2 lib/hanami/application_namespace.rb
hanami-1.2.0.rc1 lib/hanami/application_namespace.rb
hanami-1.2.0.beta2 lib/hanami/application_namespace.rb
hanami-1.2.0.beta1 lib/hanami/application_namespace.rb
hanami-1.1.1 lib/hanami/application_namespace.rb
hanami-1.1.0 lib/hanami/application_namespace.rb
hanami-1.1.0.rc1 lib/hanami/application_namespace.rb
hanami-1.1.0.beta3 lib/hanami/application_namespace.rb
hanami-1.1.0.beta2 lib/hanami/application_namespace.rb
hanami-1.1.0.beta1 lib/hanami/application_namespace.rb