vendor/bundle/ruby/1.8/gems/emissary-1.3.18/lib/emissary/identity.rb
# Loads all available identities included with this gem
#
Loads all available identities included with this gem
Loads all available identities included with this gem
def load_identities
      return unless not !!loaded? 
      Dir[INTERNAL_IDENTITY_GLOB, EXTERNAL_IDENTITY_GLOB].reject do |id|
        self.class.exclusions.include?("/#{id.to_s.downcase}.rb")
      end.each do |file|
        ::Emissary.logger.info "Loading Identity: #{file}"
        require File.expand_path(file)
      end
      @loaded = true
    end
def load_identities return unless not ! ! loaded? Dir [ INTERNAL_IDENTITY_GLOB , EXTERNAL_IDENTITY_GLOB ] . reject do | id | self . class . exclusions . include? ( "/#{id.to_s.downcase}.rb" ) end . each do | file | :: Emissary . logger . info "Loading Identity: #{file}" require File . expand_path ( file ) end @loaded = true end
Loads all available identities included with this gem
Loads all available identities included with this gem