Exception: Rubuild::Env::Error::Key::Empty

Inherits:
Rubuild::Env::Error::Key show all
Defined in:
lib/rubuild/env.rb

Overview

Rubuild::Env::Error::Key::Empty Key does not exist in registry on require.

Instance Method Summary collapse

Constructor Details

#initialize(env, key, requiring_location) ⇒ Empty

Returns a new instance of Empty.



56
57
58
59
60
61
62
63
# File 'lib/rubuild/env.rb', line 56

def initialize(env, key, requiring_location)
  super(
    env, key,
    "Key #{key.dump} does not exist in registry " +
    "for #{requiring_location.found_dep.name}.")
  self.rubuild_env_error_key_empty__requiring_location = 
    requiring_location
end