Sha256: 7ac61b1b62aff9c51f901a19bbf5cc16ca85a5ccb11a1abdbab2269c6149a737

Contents?: true

Size: 512 Bytes

Versions: 15

Compression:

Stored size: 512 Bytes

Contents

Hyperloop::Autoloader.load_paths = %w[components models operations stores]

class Object
  class << self
    alias _autoloader_original_const_missing const_missing

    def const_missing(const_name)
      # need to call original code because some things are set up there
      # original code may also be overloaded by reactrb, for example
      _autoloader_original_const_missing(const_name)
    rescue StandardError => e
      Hyperloop::Autoloader.const_missing(const_name, self) || raise(e)
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
hyperloop-config-0.99.6 lib/hyperloop/autoloader_starter.rb
hyperloop-config-0.99.5 lib/hyperloop/autoloader_starter.rb
hyperloop-config-0.99.4 lib/hyperloop/autoloader_starter.rb
hyperloop-config-0.99.3 lib/hyperloop/autoloader_starter.rb
hyperloop-config-0.99.2 lib/hyperloop/autoloader_starter.rb
hyperloop-config-0.99.1 lib/hyperloop/autoloader_starter.rb
hyperloop-config-0.99.0 lib/hyperloop/autoloader_starter.rb
hyperloop-config-1.0.0.lap28 lib/hyperloop/autoloader_starter.rb
hyperloop-config-1.0.0.lap27 lib/hyperloop/autoloader_starter.rb
hyperloop-config-1.0.0.lap26 lib/hyperloop/autoloader_starter.rb
hyperloop-config-1.0.0.lap25 lib/hyperloop/autoloader_starter.rb
hyperloop-config-1.0.0.lap24 lib/hyperloop/autoloader_starter.rb
hyperloop-config-1.0.0.lap23 lib/hyperloop/autoloader_starter.rb
hyperloop-config-1.0.0.lap22 lib/hyperloop/autoloader_starter.rb
hyperloop-config-1.0.0.lap21 lib/hyperloop/autoloader_starter.rb